I need help
#3

Quote:
Originally Posted by Saitecx
Посмотреть сообщение
Hello,

I have a problem with my Class selection.

Код:
 public SetupPlayerForClassSelection(playerid)
{
    SetPlayerPos(playerid,1594.7581,1448.0330,33.8799); // da steht der skin
    SetPlayerFacingAngle(playerid, 33.8799);// da guckt er hin (z coordinate)
    SetPlayerCameraPos(playerid,1600.0800,1448.3456,33.6550); // da steht die kamera
    SetPlayerCameraLookAt(playerid,1594.7581,1448.0330,33.8799); // coord von "da steht der skin"
    return 1;
}
It works, but the skin don't look in the camera. why?

sorry for my bad english :S
This is supposed to be ANGLE, not Z Coordinate.
Z Coordinate is already in SetPlayerPos function. SetPlayerPos parameters are as following ( Float:X Coord, Float:Y Coord, Float:Z Coord); . Also, don't do as Hash said - that will change your player spawn, instead of facing angle at class selection screen.
Reply


Messages In This Thread
I need help - by Saitecx - 17.10.2010, 11:29
Re: I need help - by Hash [NL-RP] - 17.10.2010, 11:44
Re: I need help - by TheXIII - 17.10.2010, 11:57
AW: I need help - by Saitecx - 17.10.2010, 12:03
Re: AW: I need help - by TheXIII - 17.10.2010, 12:09
AW: I need help - by Saitecx - 17.10.2010, 14:35

Forum Jump:


Users browsing this thread: 6 Guest(s)