Zombie include v0.1
-Hello! Today i release my include zombie FCNPC.
-Zombie spawn around player owner and attack if player in range attack
-If Zombie attacked by other player .Zombie will attack this player and Increasing the area range attack.
VIDEO:
Features:
-This is the default setting in include
Code:
#define MAX_ZOMBIE_FOR_PLAYER (10)//Number zombie spawn around player {recommend use 4}
#define DefaultZAttackRange (30.0)//Default range zombie can see player
#define ShootAttackRange (70.0)//Range zombie can see player when zombie attacked by player
#define ZAttackDmg (50.0)//Damaged Zombie attack
Function:
Code:
native CreateZombieForPlayer(playerid,Float:x,Float:y,Float:z,Float:a,Float:distancespawn = 70.0,timerespawn = 20000);//Start create zombie for player
native DestroyZombieForPlayer(playerid);//Destroy zombie for player
native IsZombieCreatedForPlayer(playerid);//Check if the player has created zombies from previous
native IsPlayerZombie(id);
Code:
public OnPlayerKillZombie(playerid,zombieid,weaponid)
public OnZombieKillPlayer(zombieid,playerid)
http://www.oni.vn/oHv55
DOWNLOAD:
http://www.oni.vn/YcSeP
*Wait 5s and click BỎ QUA QUẢNG CÁO
Tutorial
Code:
Download YSI and FCNPC plugin
*Script need ZMap.hmap
Code:
OrMisicL for FCNPC Plugin
Y_Less for YSI
Pottus,Southclaw for some function.
Zeex for Zcmd in Example script
Aucun commentaire:
Enregistrer un commentaire