BanEx(playerid);
#1

What would this ban? The IP or the Name?
Reply
#2

The player's IP (stored in your samp.ban) and the only difference with "Ban();" is you can add a comment or reason.

Example:
pawn Код:
BanEx(playerid, "Hacking");
Reply
#3

Can I show a string too?
pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string),"%s, You got banned.",name);
BanEx(playerid, string);
Reply
#4

Yes, absolutely.
Reply
#5

Well Thank you very much for the help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)