22.12.2018, 14:32
You need to find the correct angle that's facing the road.
https://sampwiki.blast.hk/wiki/Client_Commands
You can use /rs in-game while standing at the spot and facing the correct angle.
The coordinates and the angle value will be stored in rawpositions.txt in your GTA San Andreas User Files folder.
Example:
Grab the angle and put another SetPlayerFacingAngle under the leavebuilding code.
example
https://sampwiki.blast.hk/wiki/Client_Commands
You can use /rs in-game while standing at the spot and facing the correct angle.
The coordinates and the angle value will be stored in rawpositions.txt in your GTA San Andreas User Files folder.
Example:
Grab the angle and put another SetPlayerFacingAngle under the leavebuilding code.
example
Code:
SetPlayerFacingAngle(playerid, 262.000); // 262.000 is the angle i got from my rawpositions.txt