Guest User

Untitled

a guest
Jun 26th, 2014
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. public LoadProperty()
  2. {
  3. new string[128];
  4. new idx;
  5. while (idx < sizeof(HouseInfo))
  6. {
  7. HouseInfo[idx][hEntrancex] = cache_get_field_content_float(0, "hEntrancex");
  8. HouseInfo[idx][hEntrancey] = cache_get_field_content_float(0, "hEntrancey");
  9. HouseInfo[idx][hEntrancez] =cache_get_field_content_float(0, "hEntrancez");
  10. HouseInfo[idx][hExitx] = cache_get_field_content_float(0, "hExitx");
  11. HouseInfo[idx][hExity] = cache_get_field_content_float(0, "hExity");
  12. HouseInfo[idx][hExitz] = cache_get_field_content_float(0, "hExitz");
  13. HouseInfo[idx][hHealthx] = cache_get_field_content_int(0, "hHealthx");
  14. HouseInfo[idx][hHealthy] = cache_get_field_content_int(0, "hHealthy");
  15. HouseInfo[idx][hHealthz] = cache_get_field_content_int(0, "hHealthz");
  16. HouseInfo[idx][hArmourx] = cache_get_field_content_int(0, "hArmourx");
  17. HouseInfo[idx][hArmoury] = cache_get_field_content_int(0, "hArmoury");
  18. HouseInfo[idx][hArmourz] = cache_get_field_content_int(0, "hArmourz");
  19. HouseInfo[idx][hOwner] = cache_get_field_content(0, "hOwner",string);
  20. HouseInfo[idx][hDiscription] = cache_get_field_content(0, "hDiscription",string);
  21. HouseInfo[idx][hValue] = cache_get_field_content_int(0, "hValue");
  22. HouseInfo[idx][hHel] = cache_get_field_content_int(0, "hHel");
  23. HouseInfo[idx][hArm] = cache_get_field_content_int(0, "hArm");
  24. HouseInfo[idx][hInt] = cache_get_field_content_int(0, "hInt");
  25. HouseInfo[idx][hLock] = cache_get_field_content_int(0, "hLock");
  26. HouseInfo[idx][hOwned] = cache_get_field_content_int(0, "hOwned");
  27. HouseInfo[idx][hRooms] =cache_get_field_content_int(0, "hRooms");
  28. HouseInfo[idx][hRent] = cache_get_field_content_int(0, "hRent");
  29. HouseInfo[idx][hRentabil] = cache_get_field_content_int(0, "hRentabil");
  30. HouseInfo[idx][hTakings] = cache_get_field_content_int(0, "hTakings");
  31. HouseInfo[idx][hDate] = cache_get_field_content_int(0, "hDate");
  32. HouseInfo[idx][hLevel] = cache_get_field_content_int(0, "hLevel");
  33. HouseInfo[idx][hWorld] = cache_get_field_content_int(0, "hWorld");
  34. HouseInfo[idx][hSecurity] = cache_get_field_content_int(0, "hSecurity");
  35. HouseInfo[idx][hCoffre] = cache_get_field_content_int(0, "hCoffre");
  36. Create3DTextLabel(HouseInfo[idx][hDiscription],0xB40100FF, HouseInfo[idx][hEntrancex],HouseInfo[idx][hEntrancey],HouseInfo[idx][hEntrancez]+1,20,0);
  37. printf("HouseInfo:%d Owner:%s hTakings %d",idx,HouseInfo[idx][hOwner],HouseInfo[idx][hTakings]);
  38. idx++;
  39. }
  40. return 1;
  41. }
Advertisement
Add Comment
Please, Sign In to add comment