SA-MP Forums Archive
Onplayerrequestsapwn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Onplayerrequestsapwn (/showthread.php?tid=536160)



Onplayerrequestsapwn - Venice - 07.09.2014

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
   if(gTeam[playerid] == NAVY)
   {
        if(PlayerInfo[playerid][Navy] == 0)
        {
            SendClientMessage(playerid,red,"Server: You are not Navy");
            return 0;
        }
    }
return 1;
}
Why this not working ?

Its still spawning in that class