Scripting player position problem. Please help ASAP.
#1

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
Reply


Messages In This Thread
Scripting player position problem. Please help ASAP. - by Branchy - 14.04.2012, 15:47
Re: Scripting player position problem. Please help ASAP. - by Branchy - 14.04.2012, 16:51
Re: Scripting player position problem. Please help ASAP. - by MadeMan - 14.04.2012, 16:56
Re: Scripting player position problem. Please help ASAP. - by Branchy - 14.04.2012, 17:05
Re: Scripting player position problem. Please help ASAP. - by MadeMan - 14.04.2012, 17:08

Forum Jump:


Users browsing this thread: 2 Guest(s)