Advertisement
Guest User

Untitled

a guest
May 13th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.41 KB | None | 0 0
  1. publics: LoadHouses()
  2. {
  3.         for(new h = 0; h < sizeof(HouseInfo); h++)
  4.         {
  5.             if(HouseInfo[h][hKlass] == 0)
  6.             {
  7.                 new text[7];
  8.                 format(text, sizeof(text), "%d50000", 100000);//äî 125 îò 45 òûñ Ýêîíîì
  9.                 HouseInfo[h][hValue] = strval(text), HouseInfo[h][hInt] = 1, HouseInfo[h][hExitx] = 223.1219, HouseInfo[h][hExity] = 1287.841, HouseInfo[h][hExitz] = 1082.141, HouseInfo[h][hStyle] = 1;
  10.             }
  11.             else if(HouseInfo[h][hKlass] == 1)
  12.             {
  13.                 new text1[7];
  14.                 format(text1, sizeof(text1), "%d00000", 300000);//äî 220 îò 130 òûñ D
  15.                 HouseInfo[h][hValue] = strval(text1), HouseInfo[h][hSost] = 2, HouseInfo[h][hInt] = 6, HouseInfo[h][hExitx] = 2196.4541, HouseInfo[h][hExity] = -1204.37097, HouseInfo[h][hExitz] = 1049.0229, HouseInfo[h][hStyle] = 2;
  16.             }
  17.             else if(HouseInfo[h][hKlass] == 2)
  18.             {
  19.                 new text2[7];
  20.                 format(text2, sizeof(text2), "%d00000", 500000);//äî 360 îò 250 òûñ C
  21.                 HouseInfo[h][hValue] = strval(text2), HouseInfo[h][hSost] = 3, HouseInfo[h][hInt] = 10, HouseInfo[h][hExitx] = 2270.0449, HouseInfo[h][hExity] = -1210.494, HouseInfo[h][hExitz] = 1047.563, HouseInfo[h][hStyle] = 3;
  22.             }
  23.             else if(HouseInfo[h][hKlass] == 3)
  24.             {
  25.                 new text3[7];
  26.                 format(text3, sizeof(text3), "%d00000", 750000);//äî 510 îò 390 òûñ B
  27.                 HouseInfo[h][hValue] = strval(text3), HouseInfo[h][hSost] = 4, HouseInfo[h][hInt] = 9, HouseInfo[h][hExitx] = 2317.8068, HouseInfo[h][hExity] = -1026.3859, HouseInfo[h][hExitz] = 1050.2180, HouseInfo[h][hStyle] = 4;
  28.             }
  29.             else if(HouseInfo[h][hKlass] == 4)
  30.             {
  31.                 new text4[7];
  32.                 format(text4, sizeof(text4), "%d00000", 950000);//äî 820 îò 650 òûñ A
  33.                 HouseInfo[h][hValue] = strval(text4), HouseInfo[h][hSost] = 5, HouseInfo[h][hInt] = 5, HouseInfo[h][hExitx] = 140.2610, HouseInfo[h][hExity] = 1366.435, HouseInfo[h][hExitz] = 1083.859, HouseInfo[h][hStyle] = 5;
  34.             }
  35.             else if(HouseInfo[h][hKlass] == 5)
  36.             {
  37.                 new text5[9];
  38.                 format(text5, sizeof(text5), "%d000000", 1200000);//äî 2000000 îò 1000000 S
  39.                 HouseInfo[h][hValue] = strval(text5), HouseInfo[h][hSost] = 6, HouseInfo[h][hInt] = 7, HouseInfo[h][hExitx] = 225.9142, HouseInfo[h][hExity] = 1022.7064, HouseInfo[h][hExitz] = 1084.0140, HouseInfo[h][hStyle] = 6;
  40.             }
  41.             SaveHouse(h);
  42.         }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement