02.09.2014, 12:04
Can someone send me Zombie bot script
Pleasee
Pleasee
//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;
}