SA-MP Forums Archive
Problems with rental cars - 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: Problems with rental cars (/showthread.php?tid=627131)



Problems with rental cars - xogud807 - 24.01.2017

new vehicle[MAX_VEHICLES]; // new car index

CreateVehicle(481, PlayPos[0]+1, PlayPos[1], PlayPos[2], 0, 1, 1, -1, 0);
DestroyVehicle();

I do not know how to create a vehicle and create a vehicle and I want to erase the vehicle only at a variable time ...
You can not even delete the vehicle if you hit the command on another vehicle. Help Me..

And I want to make sure that the vehicle I created is on the onplayerstate when I get in.