02.03.2011, 08:13
Hey, im making PREMIUM player system and i got little problem.
How i can make that if you are not premium player, you cant use some classes.
here is my code:
it fails now, where i must put
that it wont let player spawn.
How i can make that if you are not premium player, you cant use some classes.
here is my code:
Код:
else if(classid >= 13 && classid <= 14) { GameTextForPlayer(playerid, "~b~Box~r~er ~w~/ Survivor [PREMIUM]", 3000, 3); if(PREMIUM[playerid] == 0) return GameTextForPlayer(playerid, "~w~ You are not ~r~Premium ~b~Player~w~!", 3000, 3); PlayerTeam[playerid] = 0; SetPlayerTeam(playerid,0); }
Код:
if(PREMIUM[playerid] == 0) return GameTextForPlayer(playerid, "~w~ You are not ~r~Premium ~b~Player~w~!", 3000, 3);