team commands
#1

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?
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerTeam
https://sampwiki.blast.hk/wiki/GetPlayerTeam

pawn Код:
if( GetPlayerTeam( playerid ) == TEAM_POLICE )
{
   // police commands
}
else if( GetPlayerTeam( playerid ) == TEAM_MAFIA )
{
   // mafia commands
}
Reply
#3

thanks alot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)