SA-MP Forums Archive
How to calculate this? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to calculate this? (/showthread.php?tid=189513)



How to calculate this? - 0ne - 12.11.2010

solved...


Re: How to calculate this? - RyDeR` - 12.11.2010

Umm, try this:
pawn Код:
SetPlayerCameraPos(playerid, (camera_x += (3 * floatcos(camera_x2, degrees))), (camera_y += (3 * floatsin(camera_y2, degrees))), (camera_z += 3));



Re: How to calculate this? - 0ne - 12.11.2010

solved..