facing angle
#1

hello, i made a teleport cmd but if he type that he will spawn in different rotation. He wont stand properly (not the camera from back, it become showing from side)
How to make it stand properly (showing camera from back)?
Reply
#2

SetPlayerFacingAnge(playerid, Float:angle); //angle = the angle you want the player to face
Reply
#3

i did but not coming properly
this is the coords

AddPlayerClass(276,289.7737,1484.4243,1080.2578,29 6.4013,0,0,0,0,0,0);
interior 15
Reply
#4

Or sorry, I just got my mind over a function called SetCameraBehindPlayer(payerid);, this will place the camera behind the player, but if you want the player to face a angle you need to use SetPlayerAngle();

https://sampwiki.blast.hk/wiki/Function:...yerFacingAngle
https://sampwiki.blast.hk/wiki/SetCameraBehindPlayer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)