[Help!] Putting player in vehicle when Key pushed
#2

I do not understand nothing from what you said. But here is something I tihnk it will help:

pawn Code:
if(newkeys == KEY_LOOK_RIGHT && oldkeys == KEY_LOOK_RIGHT)
    {
    new Infernus, Float:x, Float:y, Float:z, Float:a;
    GetPlayerPos(playerid,x,y,z);
    GetPlayerFacingAngle(playerid,a);
    Infernus = CreateVehicle(411,x,y,z,a,6,1,100000);
    PutPlayerInVehicle(playerid,Infernus,1);
    LinkVehicleToInterior(Infernus,GetPlayerInterior(playerid));
    return 1;
    }
Reply


Messages In This Thread
[Help!] Putting player in vehicle when Key pushed - by WojteQ - 20.08.2011, 20:05
Re: [Help!] Putting player in vehicle when Key pushed - by sleepysnowflake - 20.08.2011, 20:18
Re: [Help!] Putting player in vehicle when Key pushed - by WojteQ - 20.08.2011, 20:24

Forum Jump:


Users browsing this thread: 1 Guest(s)