SA-MP Forums Archive
Bad class selection - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Bad class selection (/showthread.php?tid=157285)



Bad class selection - Nonameman - 06.07.2010

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


Re: Bad class selection - TheInnocentOne - 06.07.2010

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.


Re: Bad class selection - ToPhrESH - 06.07.2010

If you don't know how to just go to Sa:Mp Debug to get more coordinates. Use /save (ex. SetPlayerPos)


Re: Bad class selection - ViruZZzZ_ChiLLL - 06.07.2010

Use Ryders Class maker :P
http://forum.sa-mp.com/showthread.ph...ighlight=Ryder
its awesome


Re: Bad class selection - Nonameman - 06.07.2010

Thanks guys