public OnPlayerSpawn(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof name);
if(!strcmp(name, \"Jani\", false)) {
SetPlayerSkin(playerid, SKINID);
}
else if(!strcmp(name, \"Tamas\", false)) {
SetPlayerSkin(playerid, SKINID);
}
else if(!strcmp(name, \"Kolok\", false)) {
SetPlayerSkin(playerid, SKINID);
}
else if(!strcmp(name, \"Cukor\", false)) {
SetPlayerSkin(playerid, SKINID);
}
return 1;
}
A neveket ird át meg a skinID-ket.