Advertisement
Sem_Loreann

Untitled

Apr 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. void LoadConnects()
  2. {
  3. if(!cache_num_rows()) return true;
  4. int time = GetTickCount();
  5. for(int idx = 0, ids = 1; idx < cache_num_rows(); ++idx, ++ids)
  6. {
  7. cache_get_value_index_int(idx, 0, ConnectsInfo[ids][pID]);
  8. cache_get_value_index(idx, 1, ConnectsInfo[ids][pName], 24);
  9. cache_get_value_index(idx, 2, ConnectsInfo[ids][pIP], 16);
  10. cache_get_value_index(idx, 3, ConnectsInfo[ids][pDate], 16);
  11. cache_get_value_index(idx, 4, ConnectsInfo[ids][pTime], 16);
  12. }
  13. return true;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement