(Fixed the script not working)
Can someone help me with this?How can I remove NPCs in specific place?
nice work
Is there any (admin) script that deletes a number of vehicles?
Update 1.1.0
- Converted __resource.lua to fxmanifest.lua
- Removed chat message command, it nows uses
RegisterCommand
which triggers thewk:deleteVehicle
event - Added a chat suggestion for the
/dv
command - Revised some of the deletion system to reduce redundant code
- Added a timeout so if the vehicle canāt be deleted, it keeps trying until a it hits the limit or the vehicle has been deleted
- Updated the ray trace natives, as well as using a capsule so now you donāt have to be facing a vehicle to delete it
The issue of deleting solo sessioned cars is still being an issue. It fails after 5 attempts
What do you mean? I didnāt have any issues when I was testing it. Can you give me specifics?
Iām not sure if thereās any useful logs i can get you, we are running with onesync_distanceCullVehicles turned to true, and some vehicles are undeletable, it does say it tried 5 times but doesnāt work out.
However i have tried it with Vmenuās delete vehicle option in the vehicle spawner and that seems to go through.
To me it feels like a onesync related issue with migration, i could be wrong.
Thanks for the info, Iāll have a look tomorrow.
Does this only work for admins or all ?
Iām looking for a script that a admin/owner/staff can do a mass dv, that deletes all vehicles? any help?
Everyone, but you can use ACE permissions to change it.
So for some reason we cant delet AI cars that are empty. It says failure to delete vehicle and it doesnt let us get in the vehicles to delete it.
Iām trying to fix the problem with OneSync, but Iām waiting for feedback on the test version to ensure it works. Why you cannot even get in the vehicles sounds like something else, this script doesnāt do that.
Im having the same problem, ever since i switched to OneSync thats been occuring way too oftenā¦
how do we get the test version so I can give some feedback?
What about mass dv?
I put the file in and wrote start wk_delvey, but it doesnāt work. Please tell me how.
Thereās a seperate resource that cleans up unoccupied/blown up vehicles. Youād have to use that and set a timer.
Refresh, add it to server.cfg then start it