Skins System - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Skins System (
/showthread.php?tid=475080)
Skins System -
AryanV - 11.11.2013
Do u Know a Skin Selection System...That is Good...I mean A Skin Class Menu On Player Connect..
Re: Skins System -
FShiwani - 12.11.2013
Quote:
Originally Posted by AryanV
Do u Know a Skin Selection System...That is Good...I mean A Skin Class Menu On Player Connect..
|
It is fairly easy to make it yourself.
Open up your gamemode or a create a new one. Under
public OnGameModeInit() there should be:
Код:
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
That is a single skin, change the bold number to whatever skin number you want and you can create multiple AddPlayerClass's therefore allowing a selection of skins. The other numbers(1958.3783, 1343.1572, 15.3746, 269.1425) are the position of that skin/player/class where it will appear, place that in the camera region in OnPlayerRequestClass callback.