20.07.2011, 20:08
I've created an "Stock" which supposed to create an house with 3D text, but somehow.
It creats the house perfectly(Non of the Stock's work), but dosent shows the 3D text label.
Here's the script:
I would appericate any help, thanks =].
It creats the house perfectly(Non of the Stock's work), but dosent shows the 3D text label.
Here's the script:
Код:
stock Create3DHouse() { new string[ 128 ]; for(new h = 0; h < sizeof(Houses); h++) { new NewHouseID = SpawnedHouses+1; if(Houses[h][HousePrice] == -1) { format(string, sizeof(string), "House %d", h); Create3DTextLabel(string,RED,Houses[NewHouseID][hExteriorX],Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0,1); } else { format(string, sizeof(string), "House %d\n Price: %d", h, Houses[h][HousePrice]); Create3DTextLabel(string,ADMIN_GREEN,Houses[NewHouseID][hExteriorX],Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0); } } }