Two extra params in cs_set_user_vip for determining whether or not model and scoreboard are updated at28699
This commit is contained in:
parent
7dc4beae63
commit
6733ef9a79
@ -147,13 +147,14 @@ native cs_set_user_team(index, {CsTeams,_}:team, {CsInternalModel,_}:model = CS_
|
||||
native cs_get_user_vip(index);
|
||||
|
||||
/* If vip = 1, user is set to vip.
|
||||
* Model will be changed to VIP model if 1, else it will be changed to a random CT model.
|
||||
* If model = 1, then user's model will be changed to VIP model or random CT model if vip = 0.
|
||||
* If scoreboard = 1, then scoreboard will be updated to show that user is VIP.
|
||||
* This shouldn't be used for players on teams other than CT.
|
||||
* NOTE: this is mostly useful for unsetting vips, so they can change teams and/or buy items properly.
|
||||
* It does not alter game play; the one being VIP at start of round will retain internal status as VIP; terrorists
|
||||
* can terminate him and accomplish their objective, etc.
|
||||
*/
|
||||
native cs_set_user_vip(index, vip = 1);
|
||||
native cs_set_user_vip(index, vip = 1, model = 1, scoreboard = 1);
|
||||
|
||||
/* Returns 1 of specified user has tk:ed (team killed).
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user