21.08.2015, 14:15
Код:
C:\Users\ii\Desktop\New Folder (7)\gamemodes\dnrp.pwn(8132) : error 029: invalid expression, assumed zero
Код:
stock UpdateHouseText(houseid) { if(HouseInfo[houseid][hOwned] == 0) CreateDynamicMapIcon(HouseInfo[hInfo][hEntranceX], HouseInfo[hInfo][hEntranceY], HouseInfo[hInfo][hEntranceZ], 31, 1, -1, -1, -1, 100.0); format(msg, sizeof(msg), "House: %d\n%s\nPrice: $%d\nLevel: %d", houseid, HouseInfo[houseid][hInfo], HouseInfo[houseid][hPrice], HouseInfo[houseid][hLevelbuy]); else format(msg, sizeof(msg), "House: %d\n%s", houseid, HouseInfo[houseid][hInfo]); UpdateDynamic3DTextLabelText(Text3D:HouseInfo[houseid][hLabel], -1, msg); return 1; }