SA-MP Forums Archive
Check if the vehicle is spawn. - 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: Check if the vehicle is spawn. (/showthread.php?tid=553801)



Check if the vehicle is spawn. - Baltimore - 31.12.2014

xxxxxxxxxx


Re: Check if the vehicle is spawn. - leo9 - 31.12.2014

This is a function exist in samp but you have only to do this and use it in your code
Код:
native IsValidVehicle(vehicleid);



Re : Check if the vehicle is spawn. - Baltimore - 31.12.2014

Yes, but how do I find vehicleid?

Because it is necessary to check if the vehicle is spawn before the spawn, precisely