SA-MP Forums Archive
[HELP] loading anticheat with cache - 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] loading anticheat with cache (/showthread.php?tid=498843)



[HELP] loading anticheat with cache - Luca12 - 05.03.2014

Hello how can I here load anticheat using cache. I try something like this or? Thanks



pawn Код:
forward LoadGProtect();
public LoadGProtect()
{
    new query[128],ustring[1024];
    mysql_format(mysql,query,sizeof(query),"SELECT * FROM `g-protect");
    mysql_tquery(mysql,query,"","");
    cache_get_row(ustring);
    sscanf(ustring,"p<|>ddddddd",GProtect[0][gp_Weapon],GProtect[0][gp_Teleport],GProtect[0][gp_Jetpack],GProtect[0][gp_Health],GProtect[0][gp_Speed],
    GProtect[0][gp_VehicleHealth],GProtect[0][gp_NacinRada]);
}



Re: [HELP] loading anticheat with cache - Luca12 - 06.03.2014

anyone? thanks