SA-MP Forums Archive
Vehicle spawner problem - 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 spawner problem (/showthread.php?tid=485294)



Vehicle spawner problem - Duck4coder - 03.01.2014

Hello, I have been developing my own vehicle spawner menu, but i have come to a stop as I cannot find a way to spawn the player in the vehicle or destroy the vehicle that the player is already in.
Here is what I got already.

Код:
case 0:
{
CreateVehicle(417, X, Y+5, Z, Angle, random(255), random(255), -1); LinkVehicleToInterior(GetPlayerVehicleID(playerid), pInt);
}
If you could please place the spawning in the vehicle code in a separate box than the destroy the vehicle the player is in code please, thanks.


Re: Vehicle spawner problem - [EnErGyS]KING - 03.01.2014

DestroyVehicle -Wikia And PutPlayerInVehicle - Wikia


Re: Vehicle spawner problem - Duck4coder - 03.01.2014

Thanks