Cseréld ki:
[pawn]public KickZombie(playerid){
Kick(playerid);
Zombies[playerid][Dying]=false;
KillTimer(Zombies[playerid][HPtimer]); Zombies[playerid][HPtimer] = false;
KillTimer(Zombies[playerid][Ztimers]); Zombies[playerid][Ztimers] = false;
if(Zombies[playerid][NPTIMER]){
KillTimer(Zombies[playerid][NPTIMER]);
Zombies[playerid][NPTIMER] = false;
}
new newname[64];
format(newname,sizeof(newname),\"%s_%d\",ZOMBIE_NAME,LastAdded);
ConnectNPC(newname,\"zombie\");
}[/pawn]
Koordináták meg:
[pawn]public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)){ SpawnPlayer(playerid); SetPlayerPos(playerid,x,y,z); }
return 1;
}[/pawn]