15.06.2010, 12:01
Hello,i searched on sa=mp forums and wiki but i cant do it,i've added AddPlayerClass and putted this OnPlayerRequestSpawn,i took it from torran's post.
Can anyone paste a code or help?Thanks!
Код:
OnPlayerRequestClass(playerid, classid) { for(new i = 0; i<MAX_PLAYERS; i++) { if(GetPlayerSkin(i) == 294) { if(IsPlayerLAdmin(playerid)) //i use LAdmin system thats why its LAdmin { return 1; SendClientMessage(playerid, "Welcome Admin"); } else { GameTextForPlayer(playerid, "You aren't an admin!", 5000, 5); ForceClassSelection() return 0; } }