SA-MP Forums Archive
Help :D - 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 :D (/showthread.php?tid=137988)



Help :D - ScottCFR - 30.03.2010

I want to set it up under OnPlayerRequestSpawn so if their name isn't on a list they can't spawn. 2 things are holding me back.
Can anyone help?

Heres what i though maybe?

pawn Код:
switch(pClass)
    {
      case 0: GameTextForPlayer(playerid, "Hey!", 5000, 5);
    }



Re: Help :D - Steven82 - 31.03.2010

I think this would require Mysql like on other server where they have to register at the site?


Re: Help :D - Lilcuete - 31.03.2010

Lol like a UCP?


Re: Help :D - biltong - 31.03.2010

Make a file in scriptfiles, put all your unwanted names in there, then when a player requests to spawn, check his/her name against that list and if their name is on the unwanted list, return 0 under OnPlayerRequestSpawn. Probably best to use dini, though I myself have never used it.


Re: Help :D - Flake. - 31.03.2010

Quote:
Originally Posted by biltong
Make a file in scriptfiles, put all your unwanted names in there, then when a player requests to spawn, check his/her name against that list and if their name is on the unwanted list, return 0 under OnPlayerRequestSpawn. Probably best to use dini, though I myself have never used it.
yeah do smth like this it will work nicly