08.11.2011, 09:45
Hello
I really need some help with houses/bizzes/Sbizzes 3D text labels:
At the and of /buyhouse, /sellhouse, /setrent , /setrentable...etc I got
I added at the and of Public OnPropUpdate
When i type /buyhouse (for ex.) the 3d text of the house won't update
What should i do??
I really need some help with houses/bizzes/Sbizzes 3D text labels:
At the and of /buyhouse, /sellhouse, /setrent , /setrentable...etc I got
PHP код:
OnPropUpdate();
PHP код:
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned]==0)
{
format(string, sizeof(string), "House %d\n[De Vanzare]\nPret:${FFFFFF}%d\n{2CDBDE}Level:{FFFFFF}%d",HouseInfo[h][hValue],HouseInfo[h][hLevel]);
Update3DTextLabelText(Text3D:hTextInfo,0x2CDBDEFF,string);
}
else
{
format(string, sizeof(string), "House %d\nOwner:{FFFFFF}%s\n{2CDBDE}Level:{FFFFFF}%d\n{2CDBDE}Rent:${FFFFFF}%d",HouseInfo[h][hOwner],HouseInfo[h][hLevel],HouseInfo[h][hRent]);
Update3DTextLabelText(Text3D:hTextInfo,0x2CDBDEFF,string);
}
}
What should i do??