Facing Angle
#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


Messages In This Thread
Facing Angle - by X|Dragon|X - 27.12.2014, 11:02
Re: Facing Angle - by Mic_H - 27.12.2014, 11:07
Re: Facing Angle - by X|Dragon|X - 27.12.2014, 11:19
Re: Facing Angle - by X|Dragon|X - 27.12.2014, 13:17

Forum Jump:


Users browsing this thread: 2 Guest(s)