Added TF2_GetClientTeam stock

Also fixed some weird spacing and language in doc comments
This commit is contained in:
Alexander Corn 2014-11-11 02:23:44 -05:00
parent c37174cb97
commit 1562530cdd

View File

@ -319,7 +319,19 @@ static const String:TFResourceNames[TFResourceType][] =
};
/**
* Get's a Clients current class.
* Gets a client's current team.
*
* @param client Client index.
* @return Current TFTeam of client.
* @error Invalid client index.
*/
stock TFTeam:TF2_GetClientTeam(client)
{
return TFTeam:GetClientTeam(client);
}
/**
* Gets a client's current class.
*
* @param client Player's index.
* @return Current TFClassType of player.
@ -331,14 +343,14 @@ stock TFClassType:TF2_GetPlayerClass(client)
}
/**
* Set's a Clients class.
* Sets a client's class.
*
* Note: If setting player class in a player spawn hook weapons should be set to false.
*
* @param client Player's index.
* @param classType TFClassType class symbol.
* @param weapons This paramater is ignored.
* @param persistent If true changes the players desired class so the change stays after death.
* @param weapons This parameter is ignored.
* @param persistent If true, changes the player's desired class so the change stays after death.
* @noreturn
* @error Invalid client index.
*/