Help :D
#1

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.
  • 1. Don't know where to start.
  • 2. Don't know the INI file system.
Can anyone help?

Heres what i though maybe?

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

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

Lol like a UCP?
Reply
#4

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.
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)