Posts: 23
Threads: 5
Joined: Oct 2014
Reputation:
0
Hello again , im using united-rp mod.There is some cars in the game i can't delete.There is command like /deletefcar > Deletes family car , /deletepcar > Deleteplayercar , /deletepermcar > deletes permanent cars.But some cars i can't delete and there isn't have any command like that , so i checked all cars and noticed the ones which i'm going to delete but i don't know how.How can i delete on fscript or somewhere else ? sorry for bad english
Posts: 3,004
Threads: 12
Joined: May 2011
save the vehicle id into an array when you create it like so
array_name=
CreateVehicle();
then use the function
DestroyVehicle(array_name); to destroy it.
Posts: 23
Threads: 5
Joined: Oct 2014
Reputation:
0
Can somebody help ? i need a deletecar command.i need deletecar command
Posts: 21
Threads: 6
Joined: Jun 2013
Reputation:
0
Put it under OnPlayerCommandText.
If you haven't used OnPlayerCommandText yet, you can just copy that code and paste it on your script.
Posts: 843
Threads: 61
Joined: Feb 2013
Reputation:
0
Your pawner?
Go on ******* and watch pawn tutorials, or read tutorials on SAMP wiki or here on the forums.