02.04.2009, 22:55
Код:
if(IsPlayerAdmin(playerid)) { if (gTeam[playerid] == ADMIN_TEAM) { if(classid == CLASS_ID_HERE) { GameTextForPlayer(playerid, "~r~~n~~n~~n~~n~~n~~n~~n~Admin Restricted", 1000, 3); //Add anything here } } else SendClientMessage(playerid, COLOR_HERE, "You're not an admin! You cannot choose this class."); } return 1;