19.09.2016, 16:08
Well you can do here a trick...
PHP код:
//Under OnPlayerSpawn
if(IsPlayerNPC(playerid))
{
new n[MAX_PLAYER_NAME];
GetPlayerName(playerid,n,MAX_PLAYER_NAME);
if(strfind(n,ZOMBIE_NAME) != -1)
{
//So you know..here spawned a zombie
SetPlayerSkin(playerid, 162); //This is a nice zombie skin xD
}
return 1;
}