24.10.2012, 19:50
Код:
public OnPlayerRequestSpawn(playerid) { new skin = GetPlayerSkin(playerid); new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); if((skin == 240) && (strcmp(name, "NAME FOR DUDE", true) == 1)) { SendClientMessage(playerid,COLOR_RED,"This Skin Is Locked For Fool........"); SetPlayerHealth(playerid,0); return 0; }