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?
try this in OnPlayerUpdate, but it doesn't work
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