Merge pull request #480 from iNilo/patch-1

Add missing @error annotation to GetClientSerial
This commit is contained in:
Asher Baker 2016-02-25 14:17:57 +00:00
commit e243de0538

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);