Dimmitry007 Posted January 21, 2015 Posted January 21, 2015 hello guys i have a really big big problem i've a dayz server and every thing work good but ;-; there's in LS AP alot of car spawn look here's pic http://prntscr.com/5v4qli please help ;-; sup?
Bean666 Posted January 21, 2015 Posted January 21, 2015 we can't help u if u wont show us the code Aftermath
Tekken Posted January 21, 2015 Posted January 21, 2015 Yow can use this for deleting all cars and also coolshape : function dAllC(thePlayer) accountname = getAccountName(getPlayerAccount(thePlayer)) if isObjectInACLGroup("user." .. accountname, aclGetGroup("Admin")) then vehicles = getElementsByType("vehicle") for i,v in ipairs(vehicles) do destroyElement(getElementData(v, "parent")) destroyElement(v) outputChatBox("Cars have been deleted !",thePlayer, 255, 0, 0, false) end end end addCommandHandler("dallvehs", dAllC) Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Tekken Posted January 22, 2015 Posted January 22, 2015 thanks mihaay No problem, Use this to destroy a car, do not use 'P' for Spawning or Destroying a car ! function DestroyVehicle(thePlayer) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Admin")) then if isPedInVehicle(thePlayer) then local col = getElementData(getPedOccupiedVehicle(thePlayer), "parent") destroyElement(col) destroyElement(getPedOccupiedVehicle(thePlayer)) else outputChatBox("You must be in a vehicle!", thePlayer, 255, 0, 0) end end end addCommandHandler("destroy", DestroyVehicle) Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Dimmitry007 Posted January 23, 2015 Author Posted January 23, 2015 cars are not respawning ;-; when i type /svp sup?
Tekken Posted January 24, 2015 Posted January 24, 2015 hmm, i tink you need to restart DayZ resource Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Tekken Posted January 26, 2015 Posted January 26, 2015 No problem. Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
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