31.12.2009, 18:40
Dude, i think there is no need to delete label and create a new one.
Just use Update3DTextLabelText
Add some variable to HouseInfo array, like
And when you creating a label for every house (i think in OnGameModeInit) use:
And in /buyhouse use:
Just use Update3DTextLabelText
Add some variable to HouseInfo array, like
Код:
3DText:hLabel,
Код:
HouseInfo[h][hLabel] = Create3DTextLabel(text[],color,x, y, z,15,0,1);
Код:
Update3DTextLabelText(HouseInfo[h][hLabel], color, text[]);