Stropon777 Posted October 27, 2017 Share Posted October 27, 2017 ERROR: Client (nickname) triggered serverside event Zomb_delete, but event is not added serverside ERROR: Client (nickname) triggered serverside event Zomb_delete, but event is not added serverside [DUP x4] Code is only in survivorSystem_client.lua, no longer where there is no Zomb_delete can just remove the line? function pedGetDamageDayZ ( attacker, weapon, bodypart, loss ) if getElementType(attacker) == "vehicle" then speedx, speedy, speedz = getElementVelocity ( attacker ) actualspeed = (speedx^2 + speedy^2 + speedz^2)^(0.5) kmh = actualspeed * 300 if kmh >= 5 then local vehkiller = getVehicleOccupant ( attacker ) setElementData(source,"blood",0) if getElementData(source,"blood") <= 0 then triggerServerEvent("onZombieGetsKilled",source,vehkiller) triggerServerEvent("Zomb_delete", getRootElement(), source) end end end Link to comment
Moderators IIYAMA Posted October 29, 2017 Moderators Share Posted October 29, 2017 You tell me, where is the serverside file? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now