Advertisement
Guest User

Untitled

a guest
Jun 29th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. forward LoadFactions();
  2. public LoadFactions()
  3. {
  4. new factionss, temporar[250];
  5. factionss = cache_num_rows();
  6. for(new i = 1; i <= factionss; i++)
  7. {
  8. new f = i - 1;
  9. DynamicFactions[i][fID] = cache_get_value_name(f, "ID", temporar);
  10. DynamicFactions[i][fName] = cache_get_value_name(f, "Name", temporar);
  11. cache_get_value_float(f, "X", DynamicFactions[i][fcX]);
  12. cache_get_value_float(f, "Y", DynamicFactions[i][fcY]);
  13. cache_get_value_float(f, "Z", DynamicFactions[i][fcZ]);
  14. cache_get_value_int(f, "Aplication", DynamicFactions[i][fApplication]);
  15. }
  16. printf("Factiuni: %d", factionss);
  17. return 1;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement