team name
I want to show team names as T,CT,SPEC but it is showing 1,2,3. How to change 1,2,3 to T,CT,SPEC ?
PHP Code:
|
Re: team name
PHP Code:
PHP Code:
|
Re: team name
Quote:
0 = unassigned 1 = T 2 = CT 3 = Spec You also need to use %s, not %i to format a string value Add #include <cstrike> PHP Code:
|
Re: team name
thanks
|
Re: team name
PHP Code:
|
Re: team name
Quote:
|
Re: team name
get_user_team() can retrieve the team name into a string, but I remember there being issues with get_user_team() sometimes returning incorrect values so I always use cs_get_user_team().
|
Re: team name
Yes bugsy it return false values depending on the player last team when he was alive it doesn't follow the offset until he get respawned basically it get updated to the offset when the player get respawned.
I think get_user_team gets player team from the scoreboard info |
Re: team name
Only teamId is gets from ScoreInfo
|
| All times are GMT -4. The time now is 16:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.