[Tutorial] How to create a simple Dialog Car Spawner.
#2

That code will not actually put the player in the vehicle because you are using GetVehicleID before you are putting the player in the vehicle.

You should do this:
pawn Код:
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x,y,z);
GetPlayerFacingAngle(playerid, a);
new vehicleid = CreateVehicle(411, x+3,y,z, a, -1, -1, -1);
PutPlayerInVehicle(playerid, vehicleid, 0);
Otherwise, not a bad tutorial .
Reply


Messages In This Thread
How to create a simple Dialog Car Spawner. - by Shockey HD - 31.07.2011, 04:23
Re: How to create a simple Dialog Car Spawner. - by [HiC]TheKiller - 31.07.2011, 05:32
Re: How to create a simple Dialog Car Spawner. - by Shockey HD - 31.07.2011, 06:26
Re: How to create a simple Dialog Car Spawner. - by Basicz - 31.07.2011, 09:47
Re: How to create a simple Dialog Car Spawner. - by Chrillzen - 02.08.2011, 16:16
Re: How to create a simple Dialog Car Spawner. - by Shockey HD - 02.08.2011, 17:07
Re: How to create a simple Dialog Car Spawner. - by XphosKill3r - 10.04.2012, 00:36
Re: How to create a simple Dialog Car Spawner. - by Jonny5 - 10.04.2012, 04:36

Forum Jump:


Users browsing this thread: 1 Guest(s)