>>> Checking if players are in<<<
#4

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.
*/
Reply


Messages In This Thread
>>> Checking if players are in<<< - by ToPhrESH - 20.06.2010, 10:00
Re: >>> Checking if players are in<<< - by Joe_ - 20.06.2010, 10:27
Re: >>> Checking if players are in<<< - by ToPhrESH - 20.06.2010, 10:36
Re: >>> Checking if players are in<<< - by Joe_ - 20.06.2010, 10:48
Re: >>> Checking if players are in<<< - by ToPhrESH - 20.06.2010, 10:51
Re: >>> Checking if players are in<<< - by Sergei - 20.06.2010, 10:53
Re: >>> Checking if players are in<<< - by WackoX - 20.06.2010, 11:07
Re: >>> Checking if players are in<<< - by ToPhrESH - 20.06.2010, 11:10
Re: >>> Checking if players are in<<< - by Lorenc_ - 20.06.2010, 11:14
Re: >>> Checking if players are in<<< - by ToPhrESH - 20.06.2010, 11:15

Forum Jump:


Users browsing this thread: 1 Guest(s)