23.05.2015, 14:04
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.