05.05.2014, 18:31
(
Последний раз редактировалось KillerStrike23; 06.05.2014 в 13:10.
)
closed!
here is my code and when player try to spawn he can use any skin if he weren't an admin or bla bla.... then when he use /class and get back to class selection those codes are being on all skin that player can't use any of them if he was an admin too :/ |
if(classid == 0 && !IsPlayerAdmin(playerid)) //0 means the first AddPlayerClass under ongamemodeinit,not the skin id.
{
SendClientMessage(playerid, COLOR_RED, "This skin is only for admins!");
return 0;
}