Advertisement
Guest User

Untitled

a guest
Aug 12th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.76 KB | None | 0 0
  1. Function LoadPropertys()
  2. {
  3.     for(new i = 0; i < sizeof(HouseInfo); i++)
  4.     {
  5.         cache_get_value_name_float(i, "hEnterx", HouseInfo[i][hEnterx]);
  6.         cache_get_value_name_float(i, "hEntery", HouseInfo[i][hEntery]);
  7.         cache_get_value_name_float(i, "hEnterz", HouseInfo[i][hEnterz]);
  8.         cache_get_value_name_float(i, "hEnterr", HouseInfo[i][hEnterr]);
  9.         cache_get_value_name_float(i, "hExitx", HouseInfo[i][hExitx]);
  10.         cache_get_value_name_float(i, "hExity", HouseInfo[i][hExity]);
  11.         cache_get_value_name_float(i, "hExitz", HouseInfo[i][hExitz]);
  12.         cache_get_value_name_float(i, "hExitr", HouseInfo[i][hExitr]);
  13.         cache_get_value_name_int(i, "hHeal", HouseInfo[i][hHeal]);
  14.         cache_get_value_name(i, "hOwner", HouseInfo[i][hOwner]);
  15.         cache_get_value_name(i, "hDiscription", HouseInfo[i][hDiscription]);
  16.         cache_get_value_name_int(i, "hPrice", HouseInfo[i][hPrice]);
  17.         cache_get_value_name_int(i, "hWorld", HouseInfo[i][hWorld]);
  18.         cache_get_value_name_int(i, "hInt", HouseInfo[i][hInt]);
  19.         cache_get_value_name_int(i, "hLock", HouseInfo[i][hLock]);
  20.         cache_get_value_name_int(i, "hOwned", HouseInfo[i][hOwned]);
  21.         cache_get_value_name_int(i, "hRent", HouseInfo[i][hRent]);
  22.         cache_get_value_name_int(i, "hRentabil", HouseInfo[i][hRentabil]);
  23.         cache_get_value_name_int(i, "hTakings", HouseInfo[i][hTakings]);
  24.         cache_get_value_name_int(i, "hDate", HouseInfo[i][hDate]);
  25.         cache_get_value_name_int(i, "hLevel", HouseInfo[i][hLevel]);
  26.         cache_get_value_name_int(i, "hStrom", HouseInfo[i][hStrom]);
  27.         cache_get_value_name_int(i, "id", HouseInfo[i][hID]);
  28.         printf("i: %d | id: %d | hEnterx: %f | %d | %d | %s", i, HouseInfo[i][hID], HouseInfo[i][hEnterx], (i+1), sizeof(HouseInfo), HouseInfo[i][hDiscription]);
  29.         if((i+1) == sizeof(HouseInfo))
  30.         {
  31.             LoadPropertys2();
  32.         }
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement