why they are looking back ? how do i fix it ? here's my code
<PlayerPos x="-640.38" y="-549.62" z="18.9747"/>
<CamPos x="-639.38" y="-555.62" z="19.9747"/>
<CamLook x="-640.38" y="-549.62" z="18.9747"/>
<WorldBoundaries x1="5000.0" x2="-5000.0" y1="5000.0" y2="-5000.0" />
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi68.tinypic.com%2F2n6hq2c.png&hash=819508b0d138390e2325b93897e83a7dd426daeb)
hello ?
you can set player angle using player.Angle on onPlayerRequestClass.
how to use it ? can i simple paste it on that function ?
function onPlayerRequestClass(player, classID, team, skin){
player.Angle = 0.69;
}
Angle is in radians.
degree -> radians
5° = 0.0872665
10° = 0.174533
20° = 0.349066
45° = 0.785398
90° = 1.5708
180° = 3.14159
Thanks vito its help a lot