Create vehicle and putplayerinvehicle
#3

Try this.
pawn Код:
new Float:x, Float:y, Float:z, Float:a, vsID, vehicle; // defines variables which we will use
        vehicle = CreateVehicle(415, x, y, z, a, 1, 1, 600000); // creates the vehicle
        LinkVehicleToInterior(vehicle, GetPlayerInterior(playerid)); // links the vehicle to the player interior
        SetVehicleVirtualWorld(vehicle, GetPlayerVirtualWorld(playerid)); // link the virtual world to player interior
        PutPlayerInVehicle(playerid, vehicle, 0); // puts the player in the vehicle.
Reply


Messages In This Thread
Create vehicle and putplayerinvehicle - by Banditukas - 23.05.2015, 11:45
Re: Create vehicle and putplayerinvehicle - by Alpay0098 - 23.05.2015, 11:49
Re: Create vehicle and putplayerinvehicle - by Ghazal - 23.05.2015, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)