Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- publics: LoadHouses()
- {
- for(new h = 0; h < sizeof(HouseInfo); h++)
- {
- if(HouseInfo[h][hKlass] == 0)
- {
- new text[7];
- format(text, sizeof(text), "%d50000", 100000);//äî 125 îò 45 òûñ Ýêîíîì
- 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;
- }
- else if(HouseInfo[h][hKlass] == 1)
- {
- new text1[7];
- format(text1, sizeof(text1), "%d00000", 300000);//äî 220 îò 130 òûñ D
- 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;
- }
- else if(HouseInfo[h][hKlass] == 2)
- {
- new text2[7];
- format(text2, sizeof(text2), "%d00000", 500000);//äî 360 îò 250 òûñ C
- 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;
- }
- else if(HouseInfo[h][hKlass] == 3)
- {
- new text3[7];
- format(text3, sizeof(text3), "%d00000", 750000);//äî 510 îò 390 òûñ B
- 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;
- }
- else if(HouseInfo[h][hKlass] == 4)
- {
- new text4[7];
- format(text4, sizeof(text4), "%d00000", 950000);//äî 820 îò 650 òûñ A
- 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;
- }
- else if(HouseInfo[h][hKlass] == 5)
- {
- new text5[9];
- format(text5, sizeof(text5), "%d000000", 1200000);//äî 2000000 îò 1000000 S
- 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;
- }
- SaveHouse(h);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement