SA-MP Forums Archive
[Q]GetPlayerLastShotVectorAngle - 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: [Q]GetPlayerLastShotVectorAngle (/showthread.php?tid=490960)



[Q]GetPlayerLastShotVectorAngle [ResolveD] - Dragony92 - 28.01.2014

GetPlayerLastShotVectors(playerid, &Float:fOriginX, &Float:fOriginY, &Float:fOriginZ, &Float:fHitPosX, &Float:fHitPosY, &Float:fHitPosZ);
Do anyone know how can i calculate vector angle with start and end position?

Edit: [ResolveD]