Create3DTextLabel doesn't show up.
#1

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.
Reply
#2

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);
Reply
#3

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

Tried both of them, both didn't work.
Reply
#5

Nope, still nothing, beginning to lose patience
Reply
#6

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

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?
Reply
#8

Thank you, it worked.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)