23.08.2009, 13:43
Код:
public OnPlayerRequestClass(playerid, classid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); if(strfind(name,"WRITE_YOUR_CLAN_TAG_HERE",true)==-1&&classid==1||strfind(name,"WRITE_YOUR_CLAN_TAG_HERE",true)==-1&&classid==2) { SendClientMessage(playerid, yourcolorhere, "you can't use this skin blaa blaa only for my clan etc."); return 0; } return 1; }