Help with class selection menu - 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: Help with class selection menu (
/showthread.php?tid=94814)
Help with class selection menu -
Yiff - 01.09.2009
I'm trying to replace the default cj skin with another skin (id 217)
After I replaced the original skin id from 0 to 217 and comply, I still get the stupid cj skin.
Quote:
public OnGameModeInit()
{
SetGameModeText("Yiff World");
AddPlayerClass(217, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
|
But if I add the above code into a brand new script, then It worked. Whats wrong?
Re: Help with class selection menu -
Yiff - 01.09.2009
I figured its a problem with YSI, If I remove it, the player spawn menu works fine, but then I can't load my objects. Is there any way I can run YSI and still have the player spawn menu?
Re: Help with class selection menu -
Imran.Abbas - 01.09.2009
is there any other Addplayerclass?
Re: Help with class selection menu -
Yiff - 01.09.2009
Nvm, I've fixed it with Add_Class. Thanks anyways