SA-MP Forums Archive
Moving Forward - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Moving Forward (/showthread.php?tid=478712)



Moving Forward - Ardendshy - 30.11.2013

How to move in the direction in which the character looks?


Re: Moving Forward - Voxel - 01.12.2013

You could try messing around with
pawn Код:
GetPlayerFacingAngle //https://sampwiki.blast.hk/wiki/GetPlayerFacingAngle
SetPlayerFacingAngle //https://sampwiki.blast.hk/wiki/SetPlayerFacingAngle

SetPlayerPos //https://sampwiki.blast.hk/wiki/SetPlayerPos
GetPlayerPos //https://sampwiki.blast.hk/wiki/Function:GetPlayerPos

SetPlayerVelocity //https://sampwiki.blast.hk/wiki/SetPlayerVelocity
GetPlayerVelocity //https://sampwiki.blast.hk/wiki/GetPlayerVelocity