10.06.2012, 15:45
pawn Код:
SendClientMessage(playerid, COLOR_NICERED,"=======================================YOU ARE BANNED==========================");
SendClientMessage(playerid, COLOR_LIGHTRED,"This IP is banned from this Server");
SendClientMessage(playerid, COLOR_LIGHTRED,"If you wish to be unbanned please visit our website at www.uk-rp.tk");
SendClientMessage(playerid, COLOR_NICERED,"=======================================BAN INFORMATION=========================");
format(msg2,sizeof(msg2),"Name of the account Banned on the ip %s: %s",playersip, dini_Get(bancheck,"BanName"));
SendClientMessage(playerid, COLOR_WHITE,msg2);
format(msg2,sizeof(msg2),"Ban issued by administrator: %s",dini_Get(bancheck,"BannedBy"));
SendClientMessage(playerid, COLOR_WHITE,msg2);
format(msg2,sizeof(msg2),"Ban issued on date: %s",dini_Get(bancheck,"BanDate"));
SendClientMessage(playerid, COLOR_WHITE,msg2);
format(msg2,sizeof(msg2),"Ban Reason: %s",dini_Get(bancheck,"BanReason"));
SendClientMessage(playerid, COLOR_WHITE,msg2);
SendClientMessage(playerid, COLOR_NICERED,"===============================================================================");
format(msg2,sizeof(msg2),"[ADMIN]: %s (%d), Has been kicked for Possible Ban Evading",plname,playerid);
SendAdminMessage(COLOR_LIGHTRED,msg2);
format(msg2,sizeof(msg2),"(%d/%d/%d) [%d:%d:%d] %s Has been kicked by the anticheat for Possible Ban Evading",d,m,y,h,mi,s,plname);
KickLog(msg2);
format(msg2,sizeof(msg2),"Users/%s.ini",plname);
if(dini_Exists(msg2))
{
dini_IntSet(msg2,"Banned",1);
}
OnPlayerUpdateEx(playerid);
SetTimerEx("ScriptBan",500,false,"iis",playerid,999,"Ban Evading");
return 1;
}
}
Is there a problem in this?