05.03.2014, 13:55
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]);
}