Posts: 303
Threads: 56
Joined: Jun 2009
Reputation:
0
Hello!
When I connect to my server, when class selection's coming, I can't see my player, just the (<-) (->) (Spawn) buttons. How can I make the skins visible at class selection?
Nonameman
TheInnocentOne
Unregistered
Put this code in your script under the OnPlayerRequestClass callback:
pawn Код:
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
Put this under OnPlayerSpawn:
pawn Код:
SetPlayerInterior(playerid, 0);
Just an example of some class selection co-ordinates, I'm sure if you search you will find some more.
Posts: 518
Threads: 63
Joined: Jun 2010
Reputation:
0
If you don't know how to just go to Sa:Mp Debug to get more coordinates. Use /save (ex. SetPlayerPos)