Posts: 373
Threads: 59
Joined: Jun 2014
Reputation:
0
My server's vehicles positions are based on grandlarc vehicles so i'm using LoadStaticVehiclesFromFile to load the vehicles from the scriptfiles folder. How to Permanently Destroy a vehicle from the server and delete the vehicle id from the vehicle's file?
Posts: 347
Threads: 78
Joined: Sep 2013
Reputation:
0
Please, correct me if I'm wrong, but can't you just right click on the file and click 'delete'?
Posts: 983
Threads: 98
Joined: Feb 2012
Reputation:
0
Go near the vehicle that you want to delete and type /dl and get x coordinates and then CTRL F in that file and find that coordinate.
I hope I helped any feedback would be appreciated.
Posts: 347
Threads: 78
Joined: Sep 2013
Reputation:
0
/save the vehicle at its original spawn location (/dl to make sure the two coords match up)
GTA SA User Files -> SAMP -> savedpositions.txt
Copy the coords
Go into the file
CTRL F
Paste the coords
Find it.
If it doesn't show up, then try to look for the X coord by altering a few numbers and narrowing your options down.
Posts: 373
Threads: 59
Joined: Jun 2014
Reputation:
0
Thanks everything is working fine!