10.09.2011, 19:08
Hi,
I am trying to set up the class selection screen in caligula's palace, and the problem is that player is facing the wrong way (i see him in the back). I need to rotate the player for 180 degrees.
here is the code i used:
any advice is appreciated.
I am trying to set up the class selection screen in caligula's palace, and the problem is that player is facing the wrong way (i see him in the back). I need to rotate the player for 180 degrees.
here is the code i used:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2244.3157,1677.0133,1008.3658);
SetPlayerCameraPos(playerid, 2241.4128,1676.6533,1008.3594);
SetPlayerCameraLookAt(playerid, 2244.3157,1677.0133,1008.3658);
SetPlayerInterior(playerid, 1);
return 1;
}