3D Text doesn't delete?! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3D Text doesn't delete?! (
/showthread.php?tid=578307)
3D Text doesn't delete?! -
nezo2001 - 18.06.2015
As the title say
on the top:
PHP код:
new Text3D:HouseLabel;
At the script:
PHP код:
HouseLabel = Create3DTextLabel(HouseInfo[i][HouseText], COLOR_GREEN, HouseInfo[i][EntranceX], HouseInfo[i][EntranceY], HouseInfo[i][EntranceZ], 30, 0, 1);
Another where in the script
PHP код:
Delete3DTextLabel(HouseLabel);
But it doesn't delete
Re: 3D Text doesn't delete?! -
Konstantinos - 18.06.2015
In your enum used for HouseInfo add:
and then:
pawn Код:
HouseInfo[i][House3DLabel] = Create3DTextLabel(..);
// and..
Delete3DTextLabel(HouseInfo[index_here][House3DLabel]);
You may consider using dynamic 3D labels as well.
Re: 3D Text doesn't delete?! -
Patchwerk - 18.06.2015
It delete 3D Text Label but on latest (created) houseid.
Try this
Код:
new Text3D:HouseLabel[MAX_HOUSES];
HouseLabel[i] = Create3DTextLabel(HouseInfo[i][HouseText],.......
Delete3DTextLabel(HouseLabel[i]);
Re: 3D Text doesn't delete?! -
nezo2001 - 18.06.2015
Thanks Kon