GetClientSerial does not have @error documentation

Native "GetClientSerial" reported: Client index 0 is invalid
This commit is contained in:
iNilo 2016-02-25 15:06:23 +01:00
parent c81e1865e0
commit 11253eae1c

View File

@ -301,8 +301,8 @@ native bool:GetClientIP(client, String:ip[], maxlen, bool:remport=true);
* @param client Player index.
* @param auth Buffer to store the client's auth string.
* @param maxlen Maximum length of string buffer (includes NULL terminator).
* @param validate Check backend validation status.
* DO NOT PASS FALSE UNLESS YOU UNDERSTAND THE CONSEQUENCES,
* @param validate Check backend validation status.
* DO NOT PASS FALSE UNLESS YOU UNDERSTAND THE CONSEQUENCES,
* You WILL KNOW if you need to use this, MOST WILL NOT.
* @return True on success, false otherwise.
* @error If the client is not connected or the index is invalid.
@ -821,6 +821,7 @@ native ChangeClientTeam(client, team);
*
* @param client Client index.
* @return Serial number.
* @error Invalid client index, or client not connected.
*/
native GetClientSerial(client);