15.03.2012, 10:54
Hi,
Could you elaborate further on what the issue is? You said when you buy it won't go away, so you purchase the house and the text doesn't change?
If so it may be something to do with these lines:
If you check the syntax for the Update3DTextLabelText function, you will see that the function requires the ID of the text label in order to process it. MAX_HOUSES will most probably not effect anything, and the first function should actually throw an error during compilation.
You can check the syntax here: https://sampwiki.blast.hk/wiki/Update3DTextLabelText
Cheers,
TJ
Could you elaborate further on what the issue is? You said when you buy it won't go away, so you purchase the house and the text doesn't change?
If so it may be something to do with these lines:
pawn Код:
Update3DTextLabelText(,0x2CDBDEFF,house_string);
pawn Код:
Update3DTextLabelText(MAX_HOUSES,0x2CDBDEFF,house_string);
You can check the syntax here: https://sampwiki.blast.hk/wiki/Update3DTextLabelText
Cheers,
TJ