SA-MP Forums Archive
Delete3DTextLabel - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Delete3DTextLabel (/showthread.php?tid=269305)



Delete3DTextLabel - Jack- - 15.07.2011

pawn Код:
label1 = Create3DTextLabel("Welcome To The Bus Station\n To Become A Busdriver type /busdriver",COLOR_BLUE,864.9626,1876.1853,10.8303,40.0,0)
pawn Код:
if(strcmp(cmdtext, "/hidelables", true ==0)
    {
        Delete3DTextLabel(Text3D:label1);
        return 1;
    }
Whats wrong with this?


Re: Delete3DTextLabel - Adil - 15.07.2011

pawn Код:
new Text3D:label1;
pawn Код:
label1 = Create3DTextLabel("Welcome To The Bus Station\n To Become A Busdriver type /busdriver",COLOR_BLUE,864.9626,1876.1853,10.8303,40.0,0);
pawn Код:
if(strcmp(cmdtext, "/hidelables", true )==0)
{
    Delete3DTextLabel(label1);
    return 1;
}