PutPlayerInVehicle help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PutPlayerInVehicle help (
/showthread.php?tid=247881)
PutPlayerInVehicle help -
IvancheBG - 11.04.2011
Hi i made a dialog that can spawn cars but i want when spawn a car i want the driver to be in the car.
Re: PutPlayerInVehicle help -
Ironboy - 11.04.2011
show the code
Re: PutPlayerInVehicle help -
wheelman_WM - 11.04.2011
This will help you
Code:
new Float:x, Float:y, Float:z, Float:a;
GetPlayerFacingAngle(playerid,a);
GetPlayerPos(playerid, x, y, z);
new car;
car=CreateVehicle(463,x,y,z+4,a,-1,-1,30000);
PutPlayerInVehicle(playerid,car,0);
SendClientMessage(playerid, 0xFFFFFFFF, "blalaa);
Re: PutPlayerInVehicle help -
IvancheBG - 11.04.2011
I have one question where to put all this stuff and here is my dialog command
http://pastebin.com/iN6UYwt6
Respuesta: PutPlayerInVehicle help -
usrb1n - 11.04.2011
That's the command, not the dialog, search something like "dialogid == vmenu" and show us that code.
Re: PutPlayerInVehicle help -
IvancheBG - 11.04.2011
Sorry but i dont understand
Re: PutPlayerInVehicle help -
wheelman_WM - 11.04.2011
Just Add the code i given above or show us the dialog nt command xD
Respuesta: PutPlayerInVehicle help -
usrb1n - 11.04.2011
Show us the "vmenu" dialog, not the command.
Re: PutPlayerInVehicle help -
IvancheBG - 11.04.2011
ok but i made when you type /v it shows the dialog
Re: PutPlayerInVehicle help -
Mean - 11.04.2011
We need your OnDialogResponse.