14.04.2012, 15:47
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2504.8933,-1683.5768,13.5469,46.3701);
SetPlayerCameraPos(playerid, 2503.1555,-1681.8048,13.5469);
SetPlayerCameraLookAt(playerid, 2504.8933,-1683.5768,13.5469);
return 1;
}
I got everything i need on it. On SetPlayerPos I usually only use the X,Y,Z code the first 3 but The characters position is facing away from the camera. (Back turned tword the camera) Which i want the character facing the camera for skin selection. I added the 4th code thinking maybe it was the players head or camera direction i was in as i typed /save I.G.....Im new to scripting so please keep it basic Im not sure what the problem is here what im doing wrong.
Main point: The character in skin selection is facing away from the camera and I want it facing twords the camera for skin selection. Dont know how to change the players angle. etc.
Please help thanks
{
SetPlayerPos(playerid, 2504.8933,-1683.5768,13.5469,46.3701);
SetPlayerCameraPos(playerid, 2503.1555,-1681.8048,13.5469);
SetPlayerCameraLookAt(playerid, 2504.8933,-1683.5768,13.5469);
return 1;
}
I got everything i need on it. On SetPlayerPos I usually only use the X,Y,Z code the first 3 but The characters position is facing away from the camera. (Back turned tword the camera) Which i want the character facing the camera for skin selection. I added the 4th code thinking maybe it was the players head or camera direction i was in as i typed /save I.G.....Im new to scripting so please keep it basic Im not sure what the problem is here what im doing wrong.
Main point: The character in skin selection is facing away from the camera and I want it facing twords the camera for skin selection. Dont know how to change the players angle. etc.
Please help thanks