29.08.2010, 19:18
(
Последний раз редактировалось Fredden1993; 29.08.2010 в 20:03.
)
Hello ya'all.
I'm trying to make a script that stops a player from spawning if he don't got PlayerInfo[playerid][pCopRights] == 1.
And I want this thing to be on OnPlayerRequestSpawn, it should work like this login system:
But when a player tried to select a Cop skin, he should see a message like this and should not be able to use the cop skins if he don't got Cop Rights.
Thanks
I'm trying to make a script that stops a player from spawning if he don't got PlayerInfo[playerid][pCopRights] == 1.
And I want this thing to be on OnPlayerRequestSpawn, it should work like this login system:
Код:
if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_LIGHT_RED,"You must login to your account before you can spawn."); return 0; }
Thanks