Hi there Neighborhood, In the present day I’m going to be Re-Releasing a script made by Whit3XLightning I’ve gotten his permission to take action.
This can be a delete all autos script off the map by doing /dvall. the script will announce to all gamers by way of chat giving them 30 seconds to get into their autos earlier than deleting. There are two choices to select from moderately you desire a guide model or and automated model

the guide model you’ll simply must sort the command /dvall
the automated model you too can sort the command /dvall or change the automated delay in server.lua from half-hour to your liking.

I’m not the most effective at scripting however its a method I found out to make it work.

Screenshot (21)

Hope you take pleasure in it!

Github: NON Auto

Github: With Auto

1 Like

that is good , Are you able to let it will likely be automated ? folks can set the time, how lengthy we need to dv

thanks my first launch

you may change how lengthy earlier than it dv. all it is advisable do is change the Wait() for everysingle one within the server/server.lua.
as an example if you wish to make it 20 seconds as an alternative of 30 you’ll want to do that

RegisterCommand(Config.commandName, perform(supply, args, rawCommand, person)

TriggerClientEvent(‘chatMessage’, -1, “^*^1 MASS DV, PLEASE GET INTO YOUR VEHICLES! (^3 20 SECONDS ^1)”) # First Announcement

Wait(10000) # 10 seconds

TriggerClientEvent(‘chatMessage’, -1, “^*^1 MASS DV, PLEASE GET INTO YOUR VEHICLES! (^3 10 SECONDS ^1)”) # Second announcement

Wait(10000) # 10 seconds

TriggerClientEvent(‘chatMessage’, -1, “^*^5 MASS DV COMPLETE!”) # Last Announcement

Wait(1) # 1 milisecond, Dont contact

TriggerClientEvent(“wld:delallveh”, -1) finish, Config.restricCommand)

Nah I imply can we set each 1hour be dv the automobile , that we dont want to make use of command and there can be automated

i’ll test into that, im not the most effective at scripting. presently studying from constructing our server. if i can do it in poor health let you already know

simply regarded off a few scripts and it simply looks like a easy factor so as to add to the server.lua
I’ll check it and are available proper again to you

alright! found out tips on how to do it and once more it was one thing easy to do and took me an hour lol

Looking for paid scripts? Click here