SA-MP Forums Archive
vehicle destroy - can be used in case ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: vehicle destroy - can be used in case ? (/showthread.php?tid=530333)



vehicle destroy - can be used in case ? - Champ - 06.08.2014

I was thinking to create a missionary server. I just wanted to know how to use destroy vehicle in a case statement.

I mean, just like if that particular car or any other vehicle is destroy. perform this action.

is there any func ?


AW: vehicle destroy - can be used in case ? - Stanford - 06.08.2014

!IsValidVehicle(vehicleid) - if the vehicle isn't created.
I hope I helped any feedback would be appreciated!


Re: vehicle destroy - can be used in case ? - ViniBorn - 06.08.2014

Maybe this can help you

https://sampwiki.blast.hk/wiki/OnVehicleDeath


Re: vehicle destroy - can be used in case ? - Champ - 06.08.2014

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Thanks man!