View Single Post
feren02
Senior Member
Join Date: Mar 2012
Old 09-02-2020 , 00:00   Re: Help for CT or T Custom Menu
Reply With Quote #4

Quote:
Originally Posted by CrazY. View Post
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.
Thank you for this but where would I insert it? Do I need to add other lines or codes? My apologies, not that much in scripting..

Thanks in advance!
feren02 is offline