mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 05:45:36 +03:00
Fixed team native tags
This commit is contained in:
parent
c39b5d1ec6
commit
8e8633a49a
@ -120,7 +120,7 @@ enum CsTeams {
|
||||
CS_TEAM_CT = 2,
|
||||
CS_TEAM_SPECTATOR = 3
|
||||
};
|
||||
native cs_get_user_team(index);
|
||||
native CsTeams:cs_get_user_team(index);
|
||||
|
||||
/* Set user team without killing player.
|
||||
* If model is anything other than CS_DONTCHANGE, that will be set as player's model.
|
||||
@ -137,7 +137,7 @@ enum CsInternalModel {
|
||||
CS_T_GUERILLA = 8,
|
||||
CS_CT_VIP = 9
|
||||
};
|
||||
native cs_set_user_team(index, team, model = CS_DONTCHANGE);
|
||||
native cs_set_user_team(index, CsTeams:team, CsInternalModel:model = CS_DONTCHANGE);
|
||||
|
||||
/* Is user vip? Returns 1 if true, 0 if false.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user