SA-MP Forums Archive
[HELP] text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] text (/showthread.php?tid=516855)



[HELP] text - Luca12 - 02.06.2014

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

pawn Код:
if(PlayerInfo[playerid][ABanned] == 0)
    {
        new abanstr[128];
        format(abanstr,128,"No banned");
        strmid(PlayerInfo[playerid][ABanReason],abanstr,0,strlen(abanstr),255);
    }



Re: [HELP] text - Luca12 - 03.06.2014

anyone? Thanks


Re: [HELP] text - BroZeus - 03.06.2014

can u expalin more well what u want?


Re: [HELP] text - Luca12 - 03.06.2014

I want if player have not variable abanned 1 then you the text is updated to no banned but if player is on server and anticheat ban player for jetpack that player will get abanned variable to 1 and text reason Jetpack and problem is when player disconnect he get in abanreason text no banned that I want? Thanks