View Single Post
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-31-2014 , 17:39   Re: get_user_team get name team not id :/
Reply With Quote #5

I think he can make a constant with the names and use get_user_team(id) as an index.
Also, he can get the team name with a string from the same native:
PHP Code:
new szTeam[10]; get_user_team(idszTeamcharsmax(szTeam)) 
It will return: UNASSIGNED, TERRORIST, CT, SPECTATOR.
__________________

Last edited by Flick3rR; 07-31-2014 at 17:40.
Flick3rR is offline
Send a message via Skype™ to Flick3rR