03.11.2016, 09:06
Place it OnPlayerRequestSpawn (not OnPlayerRequestClass)
Returning 0 will prevent players from spawning.
PHP код:
if(gTeam[playerid] == POLICE && pInfo[playerid][pFaction] != 1)
{
SendClientMessage(playerid, red, "You are not a member of this faction");
return 0;
}

