Those options will allow you set the distance of attacking a player when sprinting, walking or crouching, same for when the player starts shooting, the zombies will target the player without any issue but keep in mind, if the player continue to shoot while being attacked, zombies will never stop coming unless he escapes without shooting.
For crouching, because many people (server owners) are having their own crouching script or might be different than the others, the only way to set the status for advanced zombies to receive when the player is crouching, is by triggering an event when player is crouching and when the player stopped crouching.
Currently removed a system that i used to have which would trigger an event when a player was getting online. This system could slow down many systems because it used in many functions and timers by looping. This system is useless since the zombies are not global but client side.
Added a thread timer which is based for QBCore Framework, this timer is getting the player status, if he is alive or not in order to perform the animations which many people told me that nothing was happening.
Fixed eating animation when player was dead, it used to cancel because of the distance system.
Added an option to spawn zombies or not when the player is not inside a zone.
Added an option to spawn extra zombie types in a zone and extra zombie spawning, that means, if you are spawning as default 20 zombies and you want a zone to spawn more, there is an option to increase the spawning in the selected zone.
Improved some code functions based on QBCore.
+ Updated to 1.5.1
Added a system to remove the zombies loot after an amount of time if the player will not pick it up in order to prevent memory issues.
Hi, any chance of making a standalone version of this? I want to have a decent zombie script along these lines but removing the inventory system so i donāt have to implement a framework such as ESX or QBCore.
Added new system based on zombies insta kill when doing a headshot with a weapon, there is now an option in ZombiePedModelsData where you can modify any zombie you want to be killed instantly or not.
thank you for this amazing script. I was already attempting to merge 2 zombie scripts to do this.
may i suggest possibly making it so the vehicles donāt disappear, it might be cool to see them in the streets all totaled and broken-down. , maybe even have a way to find a car battery item so you can repair only a few select vehicles.
Yes, you can spawn the zombies wherever you want, there is an option for that and of course you can just donāt use the option in the config for traffic adjuster (disabling peds & vehicles).
But i donāt know how that can work because the ped skins are replacements, so the peds in the main land, some of them will have a zombie ped skin.
The only way of not having this issue, is just use specific peds which are not showed in main land, or making them as custom zombie peds.