GetPlayerCameraFrontVector not updating fast enough? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: GetPlayerCameraFrontVector not updating fast enough? (
/showthread.php?tid=319164)
GetPlayerCameraFrontVector not updating fast enough? -
Austin - 18.02.2012
Hey SA-MP,
I've been using GetPlayerCameraFrontVector in a pedestrian soccer mode on my server, however, if I quickly change my camera angle to shoot or pass in a direction, somethings it still shoots in a direction I was facing.
I don't understand how this is possible as I click the mouse, so I would have thought my vector would go in that same update.
Any ideas?
Re: GetPlayerCameraFrontVector not updating fast enough? -
iPLEOMAX - 18.02.2012
The values of GetPlayerCameraFrontVector doesn't update frequently in normal camera mode.
It's very accurate only when you are using Aiming, Sniper's Scope, Heat/RPG etc..
The only way to fix this is to ask the player to use AIM KEY while passing/shooting the ball.
Re: GetPlayerCameraFrontVector not updating fast enough? -
Austin - 18.02.2012
Ah, which would imply using weapons, which I'm not wanting to do.
Thanks for the info iPLEOMAX.
Re: GetPlayerCameraFrontVector not updating fast enough? -
Mauzen - 18.02.2012
Aiming with fists increases the updaterate too i think.
Re: GetPlayerCameraFrontVector not updating fast enough? -
Whitetiger - 18.02.2012
GetPlayerCameraPos is the same way. did you try lowering the rates in server.cfg to see if that changed it?