PutPlayerInVehicle help
#1

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.
Reply
#2

show the code
Reply
#3

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);
Reply
#4

I have one question where to put all this stuff and here is my dialog command

http://pastebin.com/iN6UYwt6
Reply
#5

That's the command, not the dialog, search something like "dialogid == vmenu" and show us that code.
Reply
#6

Sorry but i dont understand
Reply
#7

Just Add the code i given above or show us the dialog nt command xD
Reply
#8

Show us the "vmenu" dialog, not the command.
Reply
#9

ok but i made when you type /v it shows the dialog
Reply
#10

We need your OnDialogResponse.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)