30.07.2009, 06:48
Ban should be dealy, but message shouldn't(In my opinion, it's a fail to make KickEx, BanEx.
Try this:
Try this:
pawn Код:
#define Imp_BanEx(%1) BanEx(%1)
forward Imp_BanEx_1(const playerid,const reason[]);
stock Imp_BanEx(const playerid, const reason[]){
SetTimerEx("Imp_BanEx_1",1000,0,"is",playerid,reason);
SendClientMessage(playerid,COLOR_GREEN,reason);
return true;
}
public Imp_BanEx_1(const playerid,const reason[]){
BanEx(playerid,reason);
}