SA-MP Forums Archive
Attach3DTextPlayer bug ? - 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: Attach3DTextPlayer bug ? (/showthread.php?tid=553522)



Attach3DTextPlayer bug ? - BlazeGaming - 30.12.2014

Код:
new Text3D:Giveup[MAX_PLAYERS];

Giveup[x] = Create3DTextLabel("(( јЩйаЕи№№ХйдґйГСєєТґаЁзє ))", COLOR_LIGHTRED, 0, 0, 0, 5, -1, 1 );
Attach3DTextLabelToPlayer(Giveup[x], x, 0.0, 0.0, 0.7);
how i can delete Attach3DTextLabelToPlayer?

Код:
Delete3DTextLabel(Giveup[x]);
it's not work.


Re: Attach3DTextPlayer bug ? - JaydenJason - 30.12.2014

Quote:
Originally Posted by BlazeGaming
Посмотреть сообщение
Код:
new Text3D:Giveup[MAX_PLAYERS];

Giveup[x] = Create3DTextLabel("(( јЩйаЕи№№ХйдґйГСєєТґаЁзє ))", COLOR_LIGHTRED, 0, 0, 0, 5, -1, 1 );
Attach3DTextLabelToPlayer(Giveup[x], x, 0.0, 0.0, 0.7);
how i can delete Attach3DTextLabelToPlayer?

Код:
Delete3DTextLabel(Giveup[x]);
it's not work.
Код:
Delete3DTextLabel(playerid, Giveup[x]);



Re: Attach3DTextPlayer bug ? - BlazeGaming - 30.12.2014

Delete3DTextLabel(playerid, Giveup[x]);

same problem


Re : Attach3DTextPlayer bug ? - StreetRP - 30.12.2014

PHP код:
    Attach3DTextLabelToPlayer(Giveup[x], playerid0.00.00.7);
             
Delete3DTextLabel(Giveup[x]); 



Re: Attach3DTextPlayer bug ? - iLuXing - 30.12.2014

PHP код:
new Text3D:pText[MAX_PLAYERS];
pText[playerid] = Create3DTextLabel(bla...);
Attach3DTextLabelToPlayer(pText[playerid], playeridbla...);
printf("%i"Delete3DTextLabel(pText[playerid]));
//return 1 if the 3D text label was deleted, otherwise 0.