17.07.2015, 18:36
Try DestroyVehicle. DestroyAddStaticVehicle does not exist as far as I know lol.
AddStaticVehicle -> Create vehicles
DestroyVehicle -> Delete vehicle
If you ask for help in the future, try to write a more detailed post. Literally posting the error message and posting some code with it is a little vague most of the times.
EDIT: Oh yeah, searching on ****** will also help you a lot in the future. Ever since SA-MP exists, people have been scripting and encountered error messages. Most of the problems people encounter are probably answered already, and lay around somewhere on the Internet.
AddStaticVehicle -> Create vehicles
DestroyVehicle -> Delete vehicle
If you ask for help in the future, try to write a more detailed post. Literally posting the error message and posting some code with it is a little vague most of the times.
EDIT: Oh yeah, searching on ****** will also help you a lot in the future. Ever since SA-MP exists, people have been scripting and encountered error messages. Most of the problems people encounter are probably answered already, and lay around somewhere on the Internet.