Hope you guys enjoy it!
Preview
Features
-
STAND ALONE
-
Customizable Command
-
Customizable Command Permissions
-
Customizable Command CoolDown With Timer
-
Customizable Customizable Command Dead/Driver/Walking/All NPC Delete (ONLY IF DEAD IS FALSE)
-
Customizable Default Distance (YOU CAN ALSO ENTER DISTANCE IN COMMAND, THIS IS FOR NO COMMAND DISTANCE INPUT)
-
Customizable Retry Amount
-
Customizable Notify System (‘StandAlone’, ‘QBCore’, ‘Esx’, ‘OkOk’, ‘Ox’)
-
Exports With Distance And Dead/All Input!
Depencies
- Nothing
Installation
- Drag and drop the file in your
resources
folder - Add this to your server cfg server.cfg
ensure wizard-delped
- Open config.lua and edit
Notify
to your notification or use StandAlone - Customize the script as you want!
Exports
- Retry = You can set number of retries to remove peds!
- Distance: You can set number to remove peds within this distance
- Type:
all
to remove all peds within distance,dead
to remove dead peds within distance,walking
to remove walking peds within distance anddriving
to remove driving peds within distance - Pos: You can ignore this to use source player coords, if you want custom coords, just use vector3 here!
exports['wizard-delped']:DeletePeds(Retry, Distance, Type, Pos)
Export Example
- Simple example of exports:
Delete All Peds Withing 100.0:
exports['wizard-delped']:DeletePeds('none', 100.0, 'all')
Delete Dead Peds Withing 100.0:
exports['wizard-delped']:DeletePeds('none', 100.0, 'dead')
Delete Dead Peds Withing 100.0 And 5 Retries:
exports['wizard-delped']:DeletePeds(5, 100.0, 'dead')
Delete Dead Peds Withing 100.0 From vector3(789.85, -1765.84, 29.68) And 5 Retries:
exports['wizard-delped']:DeletePeds(5, 100.0, 'dead', vector3(789.85, -1765.84, 29.68))
Download