Question about CreateVehicle
#2

This code will spawn the player IN the car (in this example, an Infernus)
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
GetPlayerFacingAngle(playerid, Float:Angle);
CreateVehicle(411, X, Y, Z + 2.0, Angle + 90.0, -1, -1, 5000);
That's just an example to help you out.
Reply


Messages In This Thread
[FIXED]Question about CreateVehicle - by 5002 - 08.07.2013, 01:52
Re: Question about CreateVehicle - by Red_Dragon. - 08.07.2013, 02:26
Re: Question about CreateVehicle - by 5002 - 08.07.2013, 03:54
Re: Question about CreateVehicle - by SantoN - 08.07.2013, 04:16
Re: Question about CreateVehicle - by SuperViper - 08.07.2013, 04:21
Re: Question about CreateVehicle - by 5002 - 08.07.2013, 04:27
Re: Question about CreateVehicle - by xganyx - 08.07.2013, 05:03

Forum Jump:


Users browsing this thread: 2 Guest(s)