Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public LoadProperty()
- {
- new string[128];
- new idx;
- while (idx < sizeof(HouseInfo))
- {
- HouseInfo[idx][hEntrancex] = cache_get_field_content_float(0, "hEntrancex");
- HouseInfo[idx][hEntrancey] = cache_get_field_content_float(0, "hEntrancey");
- HouseInfo[idx][hEntrancez] =cache_get_field_content_float(0, "hEntrancez");
- HouseInfo[idx][hExitx] = cache_get_field_content_float(0, "hExitx");
- HouseInfo[idx][hExity] = cache_get_field_content_float(0, "hExity");
- HouseInfo[idx][hExitz] = cache_get_field_content_float(0, "hExitz");
- HouseInfo[idx][hHealthx] = cache_get_field_content_int(0, "hHealthx");
- HouseInfo[idx][hHealthy] = cache_get_field_content_int(0, "hHealthy");
- HouseInfo[idx][hHealthz] = cache_get_field_content_int(0, "hHealthz");
- HouseInfo[idx][hArmourx] = cache_get_field_content_int(0, "hArmourx");
- HouseInfo[idx][hArmoury] = cache_get_field_content_int(0, "hArmoury");
- HouseInfo[idx][hArmourz] = cache_get_field_content_int(0, "hArmourz");
- HouseInfo[idx][hOwner] = cache_get_field_content(0, "hOwner",string);
- HouseInfo[idx][hDiscription] = cache_get_field_content(0, "hDiscription",string);
- HouseInfo[idx][hValue] = cache_get_field_content_int(0, "hValue");
- HouseInfo[idx][hHel] = cache_get_field_content_int(0, "hHel");
- HouseInfo[idx][hArm] = cache_get_field_content_int(0, "hArm");
- HouseInfo[idx][hInt] = cache_get_field_content_int(0, "hInt");
- HouseInfo[idx][hLock] = cache_get_field_content_int(0, "hLock");
- HouseInfo[idx][hOwned] = cache_get_field_content_int(0, "hOwned");
- HouseInfo[idx][hRooms] =cache_get_field_content_int(0, "hRooms");
- HouseInfo[idx][hRent] = cache_get_field_content_int(0, "hRent");
- HouseInfo[idx][hRentabil] = cache_get_field_content_int(0, "hRentabil");
- HouseInfo[idx][hTakings] = cache_get_field_content_int(0, "hTakings");
- HouseInfo[idx][hDate] = cache_get_field_content_int(0, "hDate");
- HouseInfo[idx][hLevel] = cache_get_field_content_int(0, "hLevel");
- HouseInfo[idx][hWorld] = cache_get_field_content_int(0, "hWorld");
- HouseInfo[idx][hSecurity] = cache_get_field_content_int(0, "hSecurity");
- HouseInfo[idx][hCoffre] = cache_get_field_content_int(0, "hCoffre");
- Create3DTextLabel(HouseInfo[idx][hDiscription],0xB40100FF, HouseInfo[idx][hEntrancex],HouseInfo[idx][hEntrancey],HouseInfo[idx][hEntrancez]+1,20,0);
- printf("HouseInfo:%d Owner:%s hTakings %d",idx,HouseInfo[idx][hOwner],HouseInfo[idx][hTakings]);
- idx++;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment