Cstrike: cs_set_user_team - Add a param to choose whether TeamInfo message should be sent
This commit is contained in:
@ -465,17 +465,17 @@ native cs_set_user_plant(index, plant = 1, showbombicon = 1);
|
||||
* @note For a list of valid team ids see the CsTeams enum, and for a list of
|
||||
* valid internal model ids see the CsInternalModel enum.
|
||||
*
|
||||
* @param index Client index
|
||||
* @param team Team id
|
||||
* @param model Internal model id, if CS_DONTCHANGE the game will choose the
|
||||
* model
|
||||
* @param index Client index
|
||||
* @param team Team id
|
||||
* @param model Internal model id, if CS_DONTCHANGE the game will choose the model
|
||||
* @param send_teaminfo If true, a TeamInfo message will be sent
|
||||
*
|
||||
* @noreturn
|
||||
* @error If the client index is not within the range of 1 to
|
||||
* MaxClients, or the client is not connected, an error will be
|
||||
* thrown.
|
||||
*/
|
||||
native cs_set_user_team(index, any:team, any:model = CS_DONTCHANGE);
|
||||
native cs_set_user_team(index, any:team, any:model = CS_DONTCHANGE, bool:send_teaminfo = true);
|
||||
|
||||
/**
|
||||
* Returns the client's team and optionally the model id.
|
||||
|
Reference in New Issue
Block a user