Bypass Class Selection Screen - 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: Bypass Class Selection Screen (
/showthread.php?tid=132472)
Bypass Class Selection Screen -
Hot - 07.03.2010
How to bypass Class Selection Screen? Like, when the player conenct and go to the Skin/Class Selection Screen it automatically spawns. Any ideas how?
Re: Bypass Class Selection Screen -
Correlli - 07.03.2010
Use
SpawnPlayer function at
OnPlayerRequestClass callback.
Re: Bypass Class Selection Screen -
Hot - 07.03.2010
Код:
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
return 1;
}
Stills not working, Don.
Re: Bypass Class Selection Screen -
Correlli - 07.03.2010
You're right, i've just tested it out myself. It seems that OnPlayerRequestClass isn't called for the first time after the connection.
You could try and use the timer at OnPlayerConnect then.
Re: Bypass Class Selection Screen -
Hot - 07.03.2010
Thanks Don, it works (: