[FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Gasman - 24.07.2015
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
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
IgorLuiz - 24.07.2015
Great job, very well done. + rep
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
iTakelot - 24.07.2015
very gooood, is I will use

+rep
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Gasman - 24.07.2015
Thanks.
--------------------
UPDATE:
-Direct link download
-Fix Range When player death.
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
SpikY_ - 24.07.2015
Nice work. +rep
and lol they rekt you
Respuesta: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
RubenZone - 07.08.2015
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?
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Furious51 - 10.08.2015
Good job, I liked it
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Roberto80 - 10.08.2015
Its nice but!!!
Its shitty bugged,npc do like you,jump,and fly to u,same if u use a heli,this sux!!
Re : [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
AlexBlack - 10.08.2015
well done , nice work !
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Private200 - 17.02.2016
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?
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Ritzy2K - 19.02.2016
OT: Nice. the movement in not really smooth though.
oh and they killed the shit out of you lmao.
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
K0P - 19.02.2016
Good Job +Rep
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
SecretBoss - 19.02.2016
Can this include be used for creating global zombies?
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Amunra - 20.02.2016
This Zombie Can Make Self ? Like NPC ?
Re: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Andrei77andres - 14.07.2017
Any help?
Код:
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(417) : warning 219: local variable "z" shadows a variable at a preceding level
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(473) : warning 219: local variable "z" shadows a variable at a preceding level
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(535) : warning 219: local variable "z" shadows a variable at a preceding level
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(595) : warning 219: local variable "z" shadows a variable at a preceding level
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(647) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(649) : error 055: start of function body without function header
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(653) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(655) : error 055: start of function body without function header
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(657) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(659) : error 055: start of function body without function header
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(661) : error 021: symbol already defined: "FCNPC_Respawn"
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(663) : error 054: unmatched closing brace ("}")
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(665) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(667) : error 055: start of function body without function header
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(669) : error 021: symbol already defined: "GetPlayerPos"
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(671) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(673) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(675) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(677) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(679) : error 021: symbol already defined: "FCNPC_GetZGround"
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(681) : error 021: symbol already defined: "FCNPC_SetPosition"
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(683) : error 021: symbol already defined: "FCNPC_SetAngle"
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(685) : error 021: symbol already defined: "FCNPC_Stop"
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(687) : error 021: symbol already defined: "FCNPC_StopAttack"
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(689) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(691) : error 054: unmatched closing brace ("}")
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(693) : error 054: unmatched closing brace ("}")
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(695) : error 010: invalid function or declaration
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(697) : error 054: unmatched closing brace ("}")
C:\Users\Andres\Desktop\gtacsa\NEW\pawno\include\zombie.inc(699) : error 010: invalid function or declaration
Respuesta: [FCNPC]Zombie Include[Attack/Range/Punch/Spawn around and More] -
Matyaas - 02.08.2017
Код:
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(71) : error 017: undefined symbol "FCNPC_InitZMap"
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(94) : error 017: undefined symbol "FCNPC_InitZMap"
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(179) : error 025: function heading differs from prototype
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(191) : warning 202: number of arguments does not match definition
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(204) : error 025: function heading differs from prototype
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(341) : error 017: undefined symbol "FCNPC_GetZGround"
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(371) : warning 213: tag mismatch
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(424) : error 017: undefined symbol "FCNPC_GetZGround"
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\zombie.inc(451) : warning 213: tag mismatch
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\gamemodes\GMZ.pwn(12) : warning 201: redefinition of constant/macro (symbol "MAX_ZOMBIE_FOR_PLAYER")
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\gamemodes\GMZ.pwn(1666) : warning 204: symbol is assigned a value that is never used: "string"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.