24.01.2012, 20:30
pawn Код:
HouseInfo[houseid][hPickup] = DestroyDynamicPickup(HouseInfo[houseid][hPickup]);
HouseInfo[houseid][hText] = DestroyDynamic3DTextLabel(HouseInfo[houseid][hText]);
format(string, sizeof(string), "House: %i \nPrice: $%d \nOwner: The State", houseid, HouseInfo[houseid][hPrice]);
HouseInfo[houseid][hText] = Create3DTextLabel(string,0xFF8000FF,HouseInfo[houseid][hEntranceX],HouseInfo[houseid][hEntranceY], HouseInfo[houseid][hEntranceZ],20.0,0);
HouseInfo[houseid][hPickup] = CreateDynamicPickup(1273, 1, HouseInfo[houseid][hEntranceX],HouseInfo[houseid][hEntranceY], HouseInfo[houseid][hEntranceZ],0);