Spawn players + vehicles
#3

I don't have the time to do it, but I can explain you how to do it and you can give a try!

In OnPlayerSpawn callback, you need to create a vehicle (CreateVehicle), you will also need to get player's coordinates. (GetPlayerPos; GetPlayerFacingAngle). Last, put the player in the vehicle, remember to store the ID and put him in the vehicle (PutPlayerInVehicle). And set the position (SetVehiclePos; SetVehicleZAngle).
Reply


Messages In This Thread
Spawn players + vehicles - by SantoN - 06.07.2013, 19:56
Re: Spawn players + vehicles - by SwisherSweet - 06.07.2013, 20:03
Re: Spawn players + vehicles - by Konstantinos - 06.07.2013, 20:04
Re: Spawn players + vehicles - by SwisherSweet - 06.07.2013, 20:11
Re: Spawn players + vehicles - by SantoN - 06.07.2013, 20:17
Re: Spawn players + vehicles - by Aerotactics - 06.07.2013, 21:30
Re: Spawn players + vehicles - by SantoN - 06.07.2013, 21:34
Re: Spawn players + vehicles - by Aerotactics - 06.07.2013, 21:42
Re: Spawn players + vehicles - by SantoN - 07.07.2013, 00:07
Re: Spawn players + vehicles - by CAR - 07.07.2013, 00:09

Forum Jump:


Users browsing this thread: 1 Guest(s)