19.09.2010, 16:29
Hey im trying to make "OWNED BY "NAME" when a house is owned so it shows up on the house icon
im not sure what im doing wrong here:
im not sure what im doing wrong here:
Код:
^ if(HouseInfo[h][hOwned] == 0) { format(string1, sizeof(string), "[SALE]\n$ %d",HouseInfo[h][hValue]); housesale = Create3DTextLabel(string1,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1); AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; } if(HouseInfo[h][hOwned] == 1) { format(string1,sizeof(string),"OWNED BY %d", HouseInfo[h][hOwner],HouseInfo[h][hWorld], HouseInfo[h][hRent], HouseInfo[h][hDiscription]); AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; }