SA-MP Forums Archive
3D text label is not being shown - 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: 3D text label is not being shown (/showthread.php?tid=530901)



3D text label is not being shown - Magic_Time - 09.08.2014

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.


Re: 3D text label is not being shown - SickAttack - 09.08.2014

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


Re: 3D text label is not being shown - SlimDkhili - 09.08.2014

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