23.10.2014, 22:46
free result must be always at the end
pawn Код:
db_get_field_assoc(Result, "gangname", GangInfo[gangid][GName], MAX_STRING_SIZE);
db_get_field_assoc(Result, "gangpoints", GangInfo[gangid][GPoints], MAX_STRING_SIZE);
db_get_field_assoc(Result, "tankgpoints", GangInfo[gangid][GTankPoints], MAX_STRING_SIZE);
db_get_field_assoc(Result, "gangcolor", GangInfo[gangid][GangColor], MAX_STRING_SIZE);
db_free_result(Result);