Posts: 273
Threads: 71
Joined: Sep 2011
Reputation:
0
yes its slightly more complex then changing SERVER:Unkown Command should be a tut around tho
Posts: 1,059
Threads: 86
Joined: Sep 2010
Reputation:
0
Yes but when you ban the player, you need (PlayerInfo / AccInfo / pInfo etc) and that needs to be set in your userfiles so it gets saved.
When you /ban the player, you set the variable " PlayerInfo[playerid][Banned] " to 1, like PlayerInfo[playerid][Banned] = 1; in the ban command. It also needs to be written to the player's file.
Under onplayerconnect, you would need to use dini, yini or something else to check if the playerid's userfile is banned. If it is, you can send your custom message.
Posts: 1,765
Threads: 1
Joined: Aug 2011
Reputation:
0
Yes dont ban them but Ban(playerid);
Make yor"u own ban system via varible "Banned" which you save to a file and when the file is loaded if they are banned show them a message or dialog then kick them with
Kick(playerid);
Posts: 135
Threads: 37
Joined: Jul 2011
Reputation:
0
I don't know how to do it. o.o
Posts: 138
Threads: 25
Joined: Aug 2011
Reputation:
0
/ban -> player variable in your saving system "banned" = 1, kick player (send message?)
connect: read their file, if banned = 1, send message.