Blacklist
#1

Can I have a link of ANY blacklist system?
Reply
#2

.. why don't you search it yourself ?
Reply
#3

Cause I cant find it maybe...?
Reply
#4

Well, it really depends on what you mean by Blacklisted..

Do you mean to check the DNS of the IP In-Game to see if it's blacklisted?

Or do you mean you wanna blacklist them on YOUR server?

And also if you wanna blacklist them on your own server.. What type of Database are you planning on using?

Dini or MYSQL
Reply
#5

Yes, "You cannot join this server since your name %s is blackisted!"
Kick(playerid);
DINI
Whitelist (Name)
Reply
#6

Create a file into scriptfiles directory. For an example, the name of the file is "blacklist.txt". Insert into this file all name for blacklist. In OnPlayerConnect, insert:

Code:
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
new File:blacklist = fopen("blacklist.txt", io_read), get_name[24];
while(fread(blacklist, get_name))
{
if(!strcmp(pName, get_name, true))
{
new string[128];
format(string, 128, "You cannot join this server since your name %s is blacklisted!", pName);
SendClientMessage(playerid, -1, string);
}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)