Facing Angle
#1

On my script, i made that on the register screen you can see your player in the background, but the problem is, the player is facing the wrong way from the SetPlayerCameraPos, how do i make him look the other way?, the SetPlayerFacingAngle Isn't working, it does nothing.
Reply
#2

Show me the AddPlayerClass part
Reply
#3

Code:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerCameraPos(playerid, 2022.85,2241.80,2105.57);
	SetPlayerCameraLookAt(playerid, 2021.14,2245.13,2104.95);
	SetPlayerPos(playerid, 2021.14,2245.13,2103.95);
	SetPlayerFacingAngle(playerid, 27.8246);
	SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, playerid+0);
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SITTING);
	TogglePlayerControllable(playerid, false);
	if(PlayerStat[playerid][Logged] == 1 && PlayerStat[playerid][FullyRegistered] == 1) return LoadPlayerData(playerid);
	return 1;
}
And if you can also help me with the animation, i cant get him to do the animation while the player is registering i want the character to be sitting down
Reply
#4

BUUMP
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)