Jump to content
  • 0

DeleteNonKeyVehicles();


Dismal

Question

Hey guys, i have had pretty good luck getting help on here so i will try again.

 

I am horribad at SQL and i am trying to get the recommended sql stuff to work.

 

I have created the functions for FindVehicleKeysCount and DeleteNonKeyVehicles just fine.

 

The issue i am having is im not sure how to use them... what exactly they do... and what if any the benifit of them are in my server.

 

Can anyone noob these up a little so i can understand them?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

well if you have the function findvehiclekeyscount and the event deletenonkeyvehicles it should work like this:

 

It checks for locked vehicles and looks for all available carkeys in all inventorys. So if there is no key for this locked vehicle anymore the vehicle gets deleted and is gone after next restart....

 

why is this good? well what do you think? no locked vehicles standing around which nobody uses ....

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...