09.08.2014, 18:28
Here is my code:
The X, Y, Z positions are right because the dynamic CP is created successfully.
Thanks.
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;
}
Thanks.