20.06.2010, 10:48
pawn Код:
if(Team[playerid] == TEAM_GREEN)
{
ShowMenuForPlayer(...); // Not sure if that's the right function, you understand though.
return 1;
}
SendClientMessage(playerid, YOUR_COLOUR, "You cannot use this menu.");
/*
That will check if the players team is TEAM_GREEN
If it is, it will show a menu.
then return 1, so it will never reach the message.
If the player is not TEAM_GREEN it will skip to the message.
*/

