Hey all, fan of the project also trying to create somestuff on it but im stuck on something how can i edit the map i went in Ymap but the map dile didnt come out, would apreciate a little help , keep the good work up
Sacale el -master papa lee bien padre
Hello @Dislaik. Thank for the mod buddy.
Just had a simple question I can’t auto focus zombie. Do you have an idea how to set up for my player can focus while there are killing zombie by hands or melee weapon ?
Thank you in advance !
the money doesn’t work, you can’t pick it up. HELP
isn’t there for vRP?
hey i have a question. my zombie dont drop any items. anyone does have an idea why? thnks
make sure Items are in your sql
Yo Dislaik, Tis script is amazing. Great work. But I have a couple challenges for you.
-
How can I get actually zombie sounds in the script?
-
I would like to get zombie dogs, Is this possible?
-
how can I change the peds?
I would love to see your skill add these things.
Thx but this is a work for you, not me, i will not think for you LOL
All you mentioned is possible, you just need spend a little time to investigate
All good. Im not a scripter so I will contact someone. I just figured you might be interested in making some changes. Love the scrip0t by the way. Are there any of those you are willing to help out with?
Can you pass me you zombie server men ?
random car spawning??
how to update es_extanded on zap hosting server? can help me?
Anyone know how to make the zombies run? Ive changed the speed of the walk to 1.2 like stated in this post but that isnt fast enough. I tried bringing that number up but not much change. Anyone have a solution to this?
U need to change
Lane 441 and 442 to this code
local playerX, playerY, playerZ = table.unpack(GetEntityCoords(GetPlayerPed(player), true))`
local distance = GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(player)),GetEntityCoords(entity), true)
This did not make them run. It made them not come for you as an attack.
RegisterNetEvent("ZombieSync")
AddEventHandler("ZombieSync", function()
AddRelationshipGroup("zombie")
SetRelationshipBetweenGroups(0, GetHashKey("zombie"), GetHashKey("PLAYER"))
SetRelationshipBetweenGroups(2, GetHashKey("PLAYER"), GetHashKey("zombie"))
while true do
Citizen.Wait(1)
if #entitys < Config.SpawnZombie then
x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
EntityModel = Models[math.random(1, #Models)]
EntityModel = string.upper(EntityModel)
RequestModel(GetHashKey(EntityModel))
while not HasModelLoaded(GetHashKey(EntityModel)) or not HasCollisionForModelLoaded(GetHashKey(EntityModel)) do
Wait(1)
end
local posX = x
local posY = y
local posZ = z + 999.0
repeat
Wait(1)
posX = x + math.random(-Config.MaxSpawnDistance, Config.MaxSpawnDistance)
posY = y + math.random(-Config.MaxSpawnDistance, Config.MaxSpawnDistance)
_,posZ = GetGroundZFor_3dCoord(posX+.0,posY+.0,z,1)
for _, player in pairs(players) do
Wait(1)
playerX, playerY = table.unpack(GetEntityCoords(GetPlayerPed(player), true))
if posX > playerX - Config.MinSpawnDistance and posX < playerX + Config.MinSpawnDistance or posY > playerY - Config.MinSpawnDistance and posY < playerY + Config.MinSpawnDistance then
canSpawn = false
break
else
canSpawn = true
end
end
until canSpawn
entity = CreatePed(4, GetHashKey(EntityModel), posX, posY, posZ, 0.0, true, false)
walk = walks[math.random(1, #walks)]
RequestAnimSet(walk)
while not HasAnimSetLoaded(walk) do
Citizen.Wait(1)
end
--TaskGoToEntity(entity, GetPlayerPed(-1), -1, 0.0, 1.0, 1073741824, 0)
SetPedMovementClipset(entity, walk, 1.0)
TaskWanderStandard(entity, 1.0, 10)
SetCanAttackFriendly(entity, true, true)
SetRunSprintMultiplierForPlayer(entity, 1.30)
SetPedCanEvasiveDive(entity, false)
SetPedRelationshipGroupHash(entity, GetHashKey("zombie"))
SetPedCombatAbility(entity, 0)
SetPedCombatRange(entity,0)
SetPedCombatMovement(entity, 0)
SetPedAlertness(entity,0)
SetPedIsDrunk(entity, true)
SetPedConfigFlag(entity,100,1)
ApplyPedDamagePack(entity,"BigHitByVehicle", 0.0, 9.0)
ApplyPedDamagePack(entity,"SCR_Dumpster", 0.0, 9.0)
ApplyPedDamagePack(entity,"SCR_Torture", 0.0, 9.0)
DisablePedPainAudio(entity, true)
StopPedSpeaking(entity,true)
SetEntityAsMissionEntity(entity, true, true)
SetAiMeleeWeaponDamageModifier(0.1)
if not NetworkGetEntityIsNetworked(entity) then
NetworkRegisterEntityAsNetworked(entity)
end
table.insert(entitys, entity)
--Citizen.Trace("Zombie Spawned\n")
end
for i, entity in pairs(entitys) do
if not DoesEntityExist(entity) then
SetEntityAsNoLongerNeeded(entity)
table.remove(entitys, i)
else
local playerX, playerY, playerZ = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
local pedX, pedY, pedZ = table.unpack(GetEntityCoords(entity, true))
if pedX < playerX - Config.DespawnDistance or pedX > playerX + Config.DespawnDistance or pedY < playerY - Config.DespawnDistance or pedY > playerY + Config.DespawnDistance then
local model = GetEntityModel(entity)
SetEntityAsNoLongerNeeded(entity)
SetModelAsNoLongerNeeded(model)
--Citizen.Trace("Zombie Eliminated\n")
table.remove(entitys, i)
end
end
if IsEntityInWater(entity) then
local model = GetEntityModel(entity)
SetEntityAsNoLongerNeeded(entity)
SetModelAsNoLongerNeeded(model)
DeleteEntity(entity)
table.remove(entitys,i)
--Citizen.Trace("Zombie Eliminated from Water\n")
end
end
end
end)
Are you testing these before you post them? That didnt work. They are still walking.