GetPlayerCameraPos problem - 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: GetPlayerCameraPos problem (
/showthread.php?tid=600525)
GetPlayerCameraPos problem -
graef - 09.02.2016
Why i cannot using that function after using setplayercamerapos, getplayercamerapos x y z still returned zero/ 0.000
Re: GetPlayerCameraPos problem -
Vince - 09.02.2016
Because of the way networking works and because it would be super redundant. If you use a Get right after a Set then the player will not have received the updated values yet and as a result the old values will be returned.