View Single Post
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-01-2020 , 15:22   Re: Help for CT or T Custom Menu
Reply With Quote #2

You can check which team the player is using cs_get_user_team native.

Code:
if (cs_get_user_team(id) == CS_TEAM_T)
{
	// add TERRORIST menu options here
}
else
{
	// add CT menu options here
}
I suggest that you create two menus instead, one to Terrorits and other to CTs and add the same condition, as the one above, in the command where the menu is opened.
__________________









Last edited by CrazY.; 09-01-2020 at 15:22.
CrazY. is offline