02.06.2014, 05:57
Hello I was make when anticheat ban player let say for jetpack then he get text in abanreason Jetpack and I have put on onplayerdisconnect if player has no abanreason variable set to 1 then it just store text no banned it's okay for know and the problem is I was today get banned for jetpack and first before I disconnect I get stored text in variable abanreason text Jetpack which is fine and when I disconnect that text was updated to no banned if you know what I mean
here is on onplayerdisconnect
here is on onplayerdisconnect
pawn Код:
if(PlayerInfo[playerid][ABanned] == 0)
{
new abanstr[128];
format(abanstr,128,"No banned");
strmid(PlayerInfo[playerid][ABanReason],abanstr,0,strlen(abanstr),255);
}