//OnGameModeInit
ConnectNPC("Zombie","ZombieNPC");
//The NPC script name that is located in the npcmodes folder (without the .amx extension). For Zombie1
//-----
//OnPlayerSpawn
if(IsPlayerNPC(playerid))
{
if(strcmp(PlayerName(playerid), "Zombie") ==0)
{
SetPlayerPos(playerid,NPCPos);
SetPlayerFacingAngle(playerid, NPCFacingAngle);
SetPlayerSkin(playerid,NPCSkin);
SetPlayerColor(playerid,0xFF000000); // It's In Invisible
}
return 1;
}