08.01.2013, 23:26
Hey, I've basically got a PlayerInfo[playerid][Clan] system, So for example, Clan = 1, Able to spawn as PD.
How would I implament it if I was set to clan 0, went to choose PD and not allowed to spawn as I am not in Clan 1?
I basically have this, Do I place it under public OnPlayerRequestClass pr OnPlayerSpawn?
How would I implament it if I was set to clan 0, went to choose PD and not allowed to spawn as I am not in Clan 1?
Код:
if(PlayerInfo[playerid][Clan] != 1) { return 0; }