Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward LoadFactions();
- public LoadFactions()
- {
- new factionss, temporar[250];
- factionss = cache_num_rows();
- for(new i = 1; i <= factionss; i++)
- {
- new f = i - 1;
- DynamicFactions[i][fID] = cache_get_value_name(f, "ID", temporar);
- DynamicFactions[i][fName] = cache_get_value_name(f, "Name", temporar);
- cache_get_value_float(f, "X", DynamicFactions[i][fcX]);
- cache_get_value_float(f, "Y", DynamicFactions[i][fcY]);
- cache_get_value_float(f, "Z", DynamicFactions[i][fcZ]);
- cache_get_value_int(f, "Aplication", DynamicFactions[i][fApplication]);
- }
- printf("Factiuni: %d", factionss);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement