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



Destroy3DText - Ehab1911 - 15.09.2011

Hey,

My suggestion is to add:

Destroy3DText

An example on creating one:

pawn Код:
new text123;
public OnGameModeInIt()
{
text123 = Create3DTextLabel("Hello World", 0x99FFFFAA,X,Y,Z,100.0, 0);
return 1;
}

SO MY POINT IS:

pawn Код:
if (strcmp("/close3dtext", cmdtext, true, 10) == 0)
    {
                Destroy3DTextForall(text123)
                Destroy3DTextForPlayer(playerid, text123)
        return 1;
    }
What do you say?


Re: Destroy3DText - kacper55331 - 15.09.2011

https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel ?


Re: Destroy3DText - [HiC]TheKiller - 15.09.2011

What's the problem with

https://sampwiki.blast.hk/wiki/Delete3DTextLabel
https://sampwiki.blast.hk/wiki/DeletePlayer3DTextLabel


Re: Destroy3DText - Ehab1911 - 15.09.2011

They never work for me .. I have no idea why


Re: Destroy3DText - AirKite - 15.09.2011

Quote:
Originally Posted by Ehab1911
Посмотреть сообщение
They never work for me .. I have no idea why
Show your code. You make something wrong!


Re: Destroy3DText - Kar - 15.09.2011

try
pawn Код:
new Text3D:text123;



Re: Destroy3DText - kacper55331 - 16.09.2011

...
bad "prefix"

pawn Код:
new PlayerText3D:text123;