SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 24/07/2015, 03:52 AM   #1
Gasman
Little Clucker
 
Gasman's Avatar
 
Join Date: May 2015
Location: VietNam
Posts: 33
Reputation: 73
Default [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]


Zombie include v0.1
Description:
-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:
[ame]http://www.youtube.com/watch?v=G6E3akWpT8o[/ame]
Features:
-This is the default setting in include
pawn 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
-If you want change it. Define it before #include <zombie>
Function:
pawn 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);
Callbacks:
pawn Code:
public OnPlayerKillZombie(playerid,zombieid,weaponid)
public OnZombieKillPlayer(zombieid,playerid)
Example:
https://github.com/gasmanvnn/SA-MP/b.../ExampleZombie
DOWNLOAD:
https://github.com/gasmanvnn/SA-MP/b...pts/zombie.inc
Tutorial
pawn Code:
Download YSI and FCNPC plugin
*Script need ZMap.hmap
Credits:
pawn Code:
OrMisicL for FCNPC Plugin
****** for YSI
Pottus,Southclaw for some function.
Zeex for Zcmd in Example script

Last edited by Gasman; 24/07/2015 at 05:26 AM.
Gasman is offline   Reply With Quote
Old 24/07/2015, 04:53 AM   #2
IgorLuiz
Gangsta
 
IgorLuiz's Avatar
 
Join Date: Mar 2015
Location: São Paulo
Posts: 519
Reputation: 33
Default Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

Great job, very well done. + rep
IgorLuiz is offline   Reply With Quote
Old 24/07/2015, 04:53 AM   #3
iTakelot
Gangsta
 
iTakelot's Avatar
 
Join Date: Jun 2015
Posts: 676
Reputation: 30
Default Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

very gooood, is I will use +rep
iTakelot is offline   Reply With Quote
Old 24/07/2015, 05:28 AM   #4
Gasman
Little Clucker
 
Gasman's Avatar
 
Join Date: May 2015
Location: VietNam
Posts: 33
Reputation: 73
Default Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

Thanks.
--------------------
UPDATE:
-Direct link download
-Fix Range When player death.
Gasman is offline   Reply With Quote
Old 24/07/2015, 10:14 AM   #5
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Posts: 1,246
Reputation: 128
Default Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

Nice work. +rep

and lol they rekt you
__________________
-
SpikY_ is offline   Reply With Quote
Old 07/08/2015, 02:46 PM   #6
RubenZone
Little Clucker
 
Join Date: Mar 2011
Posts: 31
Reputation: 0
Default Respuesta: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

Is it only the player who was assigned at the time of the creation of the zombie is capable of seeing it? That is, not everyone can see?
__________________
PROXIMAMENTE
ZOMBIE ROLEPLAY - JUEGO DE ROL


RubenZone is offline   Reply With Quote
Old 10/08/2015, 06:02 PM   #7
Furious51
Big Clucker
 
Furious51's Avatar
 
Join Date: Sep 2013
Location: Near the beach
Posts: 58
Reputation: 9
Default Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

Good job, I liked it
__________________
[FMGS]Cops vs Terrorist
Server IP: 92.222.167.245:8744
Server forum:http://Filesmakergameforum.proboards.com
Furious51 is offline   Reply With Quote
Old 10/08/2015, 07:00 PM   #8
Roberto80
Huge Clucker
 
Join Date: Dec 2014
Posts: 255
Reputation: 20
Default Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

Its nice but!!!
Its shitty bugged,npc do like you,jump,and fly to u,same if u use a heli,this sux!!
Roberto80 is offline   Reply With Quote
Old 10/08/2015, 09:53 PM   #9
AlexBlack
Huge Clucker
 
Join Date: Oct 2013
Location: GetPlayerPos(playerid, x, y, z);
Posts: 307
Reputation: 87
Default Re : [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

well done , nice work !
__________________
Unique DeathMatch Gamemode for sale, PM for more infos.
Game mode DM presque complet unique disponible a vendre MP.
AlexBlack is offline   Reply With Quote
Old 17/02/2016, 08:36 PM   #10
Private200
High-roller
 
Private200's Avatar
 
Join Date: May 2012
Posts: 1,176
Reputation: 211
Default Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More]

Nice job, have to bump this one. Has anyone tested this, can he tell me if those zombies can be seen by everybody or not?
Private200 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] FCNPC ZOMBIE VinPure Filterscripts 25 12/07/2017 09:40 PM
[FilterScript] RNPC Zombie[RANGE/ATTACK/PUNCH] VinPure Filterscripts 33 07/11/2016 07:45 AM
FCNPC include brandypol Scripting Help 5 28/02/2014 09:56 PM
Zombie FCNPC KeNTos Scripting Help 0 20/10/2013 07:50 AM
Spawn/Death system - When a zombie kills a human he doesnt spawn as a zombie Julian2574 Help Archive 5 14/12/2009 05:16 PM


All times are GMT. The time now is 09:13 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.