Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forlic mysql_gangs_load()
- {
- new rows, fields;
- cache_get_data(rows, fields);
- if(rows)
- {
- for(new i = 1, id; i <= rows; i ++)
- {
- new idx = i - 1;
- id = cache_get_field_content_int(idx, "ID", func_mysql_auth);
- if(id == 0) continue;
- else if(id >= 1)
- {
- GangInfo[id][gID] = id;
- cache_get_field_content(idx, "Name", GangName[id], func_mysql_auth, 50);
- }
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement