Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] angle according to camera position

 
  • 0 Vote(s) - 0 Average
Pawn angle according to camera position
Fixedfeed
Offline

Burgershot Member
Posts: 13
Threads: 5
Joined: Apr 2020
Reputation: 0
#1
2020-09-27, 03:26 PM
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
« Next Oldest | Next Newest »



Messages In This Thread
angle according to camera position - by Fixedfeed - 2020-09-27, 03:26 PM
RE: angle according to camera position - by Y_Less - 2020-09-28, 11:28 AM
RE: angle according to camera position - by Fixedfeed - 2020-10-02, 07:51 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode