#include <a_samp>public OnPlayerRequestSpawn(playerid){new name[MAX_PLAYER_NAME], SkinID = GetPlayerSkin(playerid);GetPlayerName(playerid, name, sizeof name);if(SkinID == 217){if(!strcmp(name, \"Natha\", false)){}else{SendClientMessage(playerid, 0xff0000AA, \"Ezt a skint csak {0cad00}Natha {ff0000}használhatja !\");SetPlayerHealth(playerid, 0.0);ForceClassSelection(playerid);return 0;}}return 1;}
#include <a_samp>public OnPlayerRequestSpawn(playerid){new name[MAX_PLAYER_NAME], SkinID = GetPlayerSkin(playerid);GetPlayerName(playerid, name, sizeof name);if(SkinID == 217){if(!strcmp(name, \"Natha\", false) || !strcmp(name,\"HAVERODNEVE\",false)){}else{SendClientMessage(playerid, 0xff0000AA, \"Ezt a skint csak {0cad00}Natha{ff0000}, és {0cad00}ASDASDASD{ff0000} használhatja!\");SetPlayerHealth(playerid, 0.0);ForceClassSelection(playerid);return 0;}}return 1;}
#include <a_samp>public OnPlayerRequestSpawn(playerid){new name[MAX_PLAYER_NAME], SkinID = GetPlayerSkin(playerid);GetPlayerName(playerid, name, sizeof name);if(SkinID == 217){if(!strcmp(name, \"Natha\", false)){}else{SendClientMessage(playerid, 0xff0000AA, \"Ezt a skint csak {0cad00}Natha {ff0000}használhatja !\");SetPlayerHealth(playerid, 0.0);ForceClassSelection(playerid);return 0;}//És innen jön a haverodéGetPlayerName(playerid, name, sizeof name);if(SkinID == 217)if(!strcmp(name, \"Natha\", false)){}else{SendClientMessage(playerid, 0xff0000AA, \"Ezt a skint csak {0cad00}Natha {ff0000}használhatja !\");SetPlayerHealth(playerid, 0.0);ForceClassSelection(playerid);return 0;}}return 1;}
if(!strcmp(name,\"Natha\",true) || !strcmp(name,\"HaverNeve\",true)){//Mi történjen ha az a neve}else{//Mi történjen ha egyik sem a neve}
public OnPlayerSpawn(playerid){new name[MAX_PLAYER_NAME], SkinID = GetPlayerSkin(playerid);GetPlayerName(playerid, name, sizeof name);if(SkinID == 217){if(!strcmp(name,\"Natha\",true) || !strcmp(name,\"HaverNeve\",true)){}else{SendClientMessage(playerid, 0xff0000AA, \"Ezt a skint nem használhatod !\");SetPlayerHealth(playerid, 0.0);ForceClassSelection(playerid);}}return 1;}
public OnPlayerSpawn(playerid){new name[MAX_PLAYER_NAME], SkinID = GetPlayerSkin(playerid);GetPlayerName(playerid, name, sizeof name);if(SkinID == 217){if(!strcmp(name,\"Natha\",true)){}else{SendClientMessage(playerid, 0xff0000AA, \"Ezt a skint nem használhatod !\");SetPlayerHealth(playerid, 0.0);ForceClassSelection(playerid);}}else if(SkinID == skinid){//ami elõbb..}return 1;}
GetPlayerName(playerid, name, sizeof name);if(SkinID == haverskiniidje){if(!strcmp(name, \"Haver\", false)){}else{SendClientMessage(playerid, 0xff0000AA, \"Ezt a skint csak {0cad00}Haverka {ff0000}használhatja !\");SetPlayerHealth(playerid, 0.0);ForceClassSelection(playerid);return 0;}
if(SkinID == SkinID)//ide jön a skin id { if(!strcmp(name, \"NÉV\", false))//Ide írod akinek a nevére lesz { return 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Ez tiltott Skin!\");//itt írja ha valaki ráakar menni a skinre SetPlayerSkin(playerid, 10); return 0; }}
public OnPlayerRequestSpawn(playerid){new name[MAX_PLAYER_NAME], SkinID = GetPlayerSkin(playerid);GetPlayerName(playerid, name, sizeof name); if(SkinID == 217)//ide jön a skin id {if(!strcmp(name, \"Nátha\", false))//Ide irod akinek a nevére lessz { }else{ SendClientMessage(playerid, szin, \"{00ff11}Ezt a skint csak {0900ff}Nátha {00ff11}használhatja!\");//itt irja ha valaki ráakar menni a skinre SetPlayerHealth(playerid, 0.0); ForceClassSelection(playerid); return 0; }} return 1;}