SA-MP Forums Archive
Login/Register Thing help -.- - 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: Login/Register Thing help -.- (/showthread.php?tid=105437)



Login/Register Thing help -.- - DArgo2006 - 29.10.2009

When someone new comes to the server and chooses a character before loging in/registering they get kicked! server wud be full if it wudint kick everyone... how can i change so that instead: They can't choose character * shift/jump button disabled * until they /register or /login instead of just kicking them and losing players ?


Re: Login/Register Thing help -.- - dice7 - 29.10.2009

return 0; under OnPlayerRequestSpawn to prevent a player spawning


Re: Login/Register Thing help -.- - DArgo2006 - 29.10.2009

There is only OnPlayerRequestClass


Re: Login/Register Thing help -.- - MadeMan - 29.10.2009

Then add this callback to your script.

https://sampwiki.blast.hk/wiki/OnPlayerRequestSpawn