GetPlayerCameraFrontVector not updating fast enough?
#1

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?
Reply
#2

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.
Reply
#3

Ah, which would imply using weapons, which I'm not wanting to do.

Thanks for the info iPLEOMAX.
Reply
#4

Aiming with fists increases the updaterate too i think.
Reply
#5

GetPlayerCameraPos is the same way. did you try lowering the rates in server.cfg to see if that changed it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)