Help With BanEx
#1

Hi I'm a newbie Scripter I want to add BanEx(playerid, Reason) How do I do that? I'm using AntiADV

And put SendClientMessage (You have been banned from this server for Advertising)

http://pastebin.com/xrqyGcy1
Reply
#2

Код:
stock BanEx(playerid, reason[])
{
     SendClientMessageToAll(-1,reason);
     Ban(playerid)
     return 1;
}
usage:
pawn Код:
//in command
BanEx(target,"PlayerBanned For HACKS");
Reply
#3

there is already BanEx no need to create for stock
Reply
#4

Quote:
Originally Posted by Niko_boy
Посмотреть сообщение
Код:
stock BanEx(playerid, reason[])
{
     SendClientMessageToAll(-1,reason);
     Ban(playerid)
     return 1;
}
usage:
pawn Код:
//in command


BanEx(target,"PlayerBanned For HACKS");
Quote:
Originally Posted by Romel
Посмотреть сообщение
there is already BanEx no need to create for stock
As said above. BanEx also writes to the ban file (with the the you input)
Reply
#5

there is i never used or tried one LOL
sorry my fail =__=
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)