26.01.2013, 14:48
i did this and it worked
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid,1544.7557,-1675.3905,13.5493);
SetPlayerCameraPos(playerid,1539.7557,-1675.3905,13.5493);
SetPlayerCameraLookAt(playerid,1544.7557,-1675.3905,13.5493);
return 1;
}
now the skin is facing the worng way
i remove the line of code.
SetPlayerFacingAngle(playerid,269.8190);
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid,1544.7557,-1675.3905,13.5493);
SetPlayerCameraPos(playerid,1539.7557,-1675.3905,13.5493);
SetPlayerCameraLookAt(playerid,1544.7557,-1675.3905,13.5493);
return 1;
}
now the skin is facing the worng way
i remove the line of code.
SetPlayerFacingAngle(playerid,269.8190);