05.08.2018, 18:35
Quote:
Код:
new vehicle; new Float:angle; vehicle = GetPlayerVehicleID(playerid); SetPlayerPos(playerid, 58.9391,-134.7392,2.3367); SetVehiclePos(vehicle, 58.9391,-134.7392,2.3367); GetVehicleZAngle(vehicle, angle); SetVehicleZAngle(vehicle, angle); PutPlayerInVehicle(playerid, vehicle, 0); |
Here's an excerpt from the SA:MP Wiki:
pawn Код:
Angles are reversed in GTA:SA; 90 degrees would be East in the real world, but in GTA:SA 90 degrees is in fact West. North and South are still 0/360 and 180. To convert this, simply do 360 - angle.
Does that make sense?