13.04.2013, 16:17
How can i made when someone is in team police when type /commands to show only police commands if its in team mafia only mafia commands?
if( GetPlayerTeam( playerid ) == TEAM_POLICE )
{
// police commands
}
else if( GetPlayerTeam( playerid ) == TEAM_MAFIA )
{
// mafia commands
}