Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function LoadPropertys()
- {
- for(new i = 0; i < sizeof(HouseInfo); i++)
- {
- cache_get_value_name_float(i, "hEnterx", HouseInfo[i][hEnterx]);
- cache_get_value_name_float(i, "hEntery", HouseInfo[i][hEntery]);
- cache_get_value_name_float(i, "hEnterz", HouseInfo[i][hEnterz]);
- cache_get_value_name_float(i, "hEnterr", HouseInfo[i][hEnterr]);
- cache_get_value_name_float(i, "hExitx", HouseInfo[i][hExitx]);
- cache_get_value_name_float(i, "hExity", HouseInfo[i][hExity]);
- cache_get_value_name_float(i, "hExitz", HouseInfo[i][hExitz]);
- cache_get_value_name_float(i, "hExitr", HouseInfo[i][hExitr]);
- cache_get_value_name_int(i, "hHeal", HouseInfo[i][hHeal]);
- cache_get_value_name(i, "hOwner", HouseInfo[i][hOwner]);
- cache_get_value_name(i, "hDiscription", HouseInfo[i][hDiscription]);
- cache_get_value_name_int(i, "hPrice", HouseInfo[i][hPrice]);
- cache_get_value_name_int(i, "hWorld", HouseInfo[i][hWorld]);
- cache_get_value_name_int(i, "hInt", HouseInfo[i][hInt]);
- cache_get_value_name_int(i, "hLock", HouseInfo[i][hLock]);
- cache_get_value_name_int(i, "hOwned", HouseInfo[i][hOwned]);
- cache_get_value_name_int(i, "hRent", HouseInfo[i][hRent]);
- cache_get_value_name_int(i, "hRentabil", HouseInfo[i][hRentabil]);
- cache_get_value_name_int(i, "hTakings", HouseInfo[i][hTakings]);
- cache_get_value_name_int(i, "hDate", HouseInfo[i][hDate]);
- cache_get_value_name_int(i, "hLevel", HouseInfo[i][hLevel]);
- cache_get_value_name_int(i, "hStrom", HouseInfo[i][hStrom]);
- cache_get_value_name_int(i, "id", HouseInfo[i][hID]);
- printf("i: %d | id: %d | hEnterx: %f | %d | %d | %s", i, HouseInfo[i][hID], HouseInfo[i][hEnterx], (i+1), sizeof(HouseInfo), HouseInfo[i][hDiscription]);
- if((i+1) == sizeof(HouseInfo))
- {
- LoadPropertys2();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement