How to disable skin chooser? - 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)
+--- Thread: How to disable skin chooser? (
/showthread.php?tid=405180)
How to disable skin chooser? -
DJGama101 - 05.01.2013
Hi. I wonder how do i disable skin chooser? I already have done this:
Код:
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
return 1;
}
But it still shows GUI for skin chooser. How to disable this corectly? Thanks in advance!
Re: How to disable skin chooser? -
Infinity90 - 05.01.2013
pawn Код:
//Under Request class:
SetTimerEx("AutoSpawn", 123, 0, "i", playerid);
//Bottom of your script:
forward AutoSpawn(playerid);
public AutoSpawn(playerid)
{
SpawnPlayer(playerid);
return 1;
}
It works on my gamemode so should for you
Re: How to disable skin chooser? -
DJGama101 - 05.01.2013
It works perfectly! Thank you very much!