• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] angle according to camera position
#1
Information 
As the title says, how can I make the angle of the player set according to the direction of the player's camera?

Code:
new Float:Pos_[3];

GetPlayerCameraFrontVector(playerid, Pos_[0], Pos_[1], Pos_[2]);

SetPlayerFacingAngle ( playerid , Pos_[2] ) ;





try this in OnPlayerUpdate, but it doesn't work
  Reply


Messages In This Thread
angle according to camera position - by Fixedfeed - 2020-09-27, 03:26 PM

Forum Jump: