SA-MP Forums Archive
Create3DTextLabel doesn't show up. - 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: Create3DTextLabel doesn't show up. (/showthread.php?tid=360231)



Create3DTextLabel doesn't show up. - Rabbayazza - 16.07.2012

pawn Код:
// Top of the script

new Text3D:Enter;
new Text3D:Exit;


// onGameModeInit

public OnGameModeInit()

    SetGameModeText("Testing");
    Enter = Create3DTextLabel("Please press /enter", 0x000000, 1341.5411, -1675.3422, 17.7164, 20.0, -1, 0);
    Exit = Create3DTextLabel("Please press /exit", 0x000000, 963.70001221, -53.29999924, 1000.70001221, 20.0, -1, 0);
    Update3DTextLabelText(Enter, 0x000000, "Please press /enter");
    Update3DTextLabelText(Exit, 0x000000, "Please press /exit");
I have no idea why this is not working.


Re: Create3DTextLabel doesn't show up. - ViniBorn - 16.07.2012

pawn Код:
Enter = Create3DTextLabel("Please press /enter", 0x000000FF, 1341.5411, -1675.3422, 17.7164, 20.0, 0, 0);
Exit = Create3DTextLabel("Please press /exit", 0x000000FF, 963.70001221, -53.29999924, 1000.70001221, 20.0, 0, 0);



Re: Create3DTextLabel doesn't show up. - FUNExtreme - 17.07.2012

The alpha channel in the colors you use is set to invisible. Try 0xFFFFFFFF


Re: Create3DTextLabel doesn't show up. - Rabbayazza - 17.07.2012

Tried both of them, both didn't work.


Re: Create3DTextLabel doesn't show up. - Rabbayazza - 17.07.2012

Nope, still nothing, beginning to lose patience


Re: Create3DTextLabel doesn't show up. - Rabbayazza - 17.07.2012

Alright, I'm going to take a break now but if anyone has a solution then please share.


Re: Create3DTextLabel doesn't show up. - ViniBorn - 17.07.2012

pawn Код:
Enter = Create3DTextLabel("Please press /enter", 0x000000, 1341.5411, -1675.3422, 17.7164, 20.0, -1, 0);
Exit = Create3DTextLabel("Please press /exit", 0x000000, 963.70001221, -53.29999924, 1000.70001221, 20.0, -1, 0);
Update3DTextLabelText(Enter, 0x000000FF, "Please press /enter");
Update3DTextLabelText(Exit, 0x000000FF, "Please press /exit");
you really need to use Update3DTextLabelText?


Re: Create3DTextLabel doesn't show up. - Rabbayazza - 17.07.2012

Thank you, it worked.