03.01.2016, 06:47
You can use this aswell.
Note: It checks if the player is cop banned then checks if the player chose the following teams.
PHP код:
if(pData[playerid][Copban] && gTeam[playerid] == TEAM_COP || gTeam[playerid] == TEAM_CIA || gTeam[playerid] == TEAM_FBI)
{
//Your code here
}