3D text label is not being shown
#1

Here is my code:

pawn Код:
new Text3D:RBLabel[MAX_RBZONES];
new RBZone[MAX_RBZONES];

// //

stock SomeFunction(Float:x, Float:y, Float:z)
{
    new id = FindEmptySlot();
    RBZone[id] = CreateDynamicCP(x, y, z, 2.0);
    RBLabel[id] = Create3DTextLabel("The text I want to be displayed", 0xFF80FF00, x, y, z, 40.0, 0, 0);
    return 1;
}
The X, Y, Z positions are right because the dynamic CP is created successfully.

Thanks.
Reply
#2

You have reached the limit or your Virtual World isn't the same as the 3D Text Label's.
Reply
#3

Код:
RBLabel[id] = Create3DTextLabel("The text I want to be displayed", 0xFF80FF00, x, y, z+0.8, 4);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)