25.10.2010, 10:10
(
Последний раз редактировалось dLu; 25.10.2010 в 12:10.
)
Hello.
Well, I've been trying and trying to make when a player connects that he gets to chose a skin, but I can't get it to work. When the player connects, the camera position doesn't want to change.
I can't really explain with words but I can show you with a picture.
http://i51.tinypic.com/16ayywp.png
I want the camera to look at the character, just like other server's have this.
Here's my code.
At the top.
And yes I have about 10 of AddPlayerClass under OnGameModeInit()
I don't get any errors, but it's just not working for me.
Please help me.
~Thanks in advance
dLu
Well, I've been trying and trying to make when a player connects that he gets to chose a skin, but I can't get it to work. When the player connects, the camera position doesn't want to change.
I can't really explain with words but I can show you with a picture.
http://i51.tinypic.com/16ayywp.png
I want the camera to look at the character, just like other server's have this.
Here's my code.
At the top.
Код:
forward PlayerClassSelection(playerid);
Код:
public OnPlayerRequestSpawn(playerid) { PlayerClassSelection(playerid); return 1; }
Код:
public PlayerClassSelection(playerid) { SetPlayerPos(playerid, -2080.4331,305.3169,105.7115); SetPlayerFacingAngle(playerid, 90.0); }
I don't get any errors, but it's just not working for me.
Please help me.
~Thanks in advance
dLu