Set a vehicle's position
|vehicleid||Vehicle ID that you want set new position.|
|Float:x||The X coordinate to position the vehicle at.|
|Float:y||The Y coordinate to position the vehicle at.|
|Float:z||The Z coordinate to position the vehicle at.|
1: The function executed successfully.
0: The function failed to execute. The vehicle specified does not exist.
// Put the player's vehicle at the coordinates 0, 0, 3 (center of SA)
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, 0, 0, 3);
An empty vehicle will not fall after being teleported into the air.