How do I make a player teleport into random cars?
#2

Well a combination of this:

Код:
CreateVehicle(carid, X,Y,Z,A, color1, color2, respawn delay);
and

Код:
PutPlayerInVehicle(playerid,vehicleid,seatid);
To make the person go into a go cart do this:

First this:

Код:
CreateVehicle(571, X,Y,Z,A, 0, 0, -1)
-Creates the gokart

Then this:

Код:
PutPlayerInVehicle(playerid,571,0);
-Puts the player into the drivers seat of the gokart

Of coarse you add these to your command
Reply


Messages In This Thread
How do I make a player teleport into random cars? - by grand.Theft.Otto - 12.03.2011, 02:22
Re: How do I make a player teleport into random cars? - by Tommy_Mandaz - 12.03.2011, 02:32
Re: How do I make a player teleport into random cars? - by grand.Theft.Otto - 12.03.2011, 02:40
Re: How do I make a player teleport into random cars? - by Tommy_Mandaz - 12.03.2011, 02:42

Forum Jump:


Users browsing this thread: 1 Guest(s)