Vehicleid bug - 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: Vehicleid bug (
/showthread.php?tid=636337)
Vehicleid bug -
MRM - 25.06.2017
fixed
Re: Vehicleid bug -
OneDay - 25.06.2017
Do you reset Player[playerid][pVehicle] when you destroy the vehicle?
Re: Vehicleid bug -
MRM - 25.06.2017
fixed
Re: Vehicleid bug -
Vince - 25.06.2017
This line
PHP Code:
vehicle = INVALID_VEHICLE_ID;
has no effect, unless you pass the variable
by reference.
PHP Code:
stock DestroyVehicleNew(&vehicle)
Notice the ampersand.