07.12.2009, 22:34
Код:
public OnPlayerRequestClass(playerid,classid) { if(classid == 3 && !IsPlayerAdmin(playerid)) { SendClientMessage(playerid,COLOR_GREEN,"This skin is only for admins!"); return 0; } return 1; }
classid The ID of the current class being viewed, classids are assigned when AddPlayerClasshttps://sampwiki.blast.hk/wiki/AddPlayerClass is used, and is also returned by it.
me I need Classid the ID