07.02.2013, 12:45
Hi!
I have trouble updating a 3DTextLabel, i use a variable like this to create:
So then i use a CMD to change the label
The Problem?
That creates another "3DTextLabel" NOT update the actual "Label"
Any solution. Thanks to all!
I have trouble updating a 3DTextLabel, i use a variable like this to create:
pawn Код:
new Text3D:Label
Label = Create3DTextLabel(....
pawn Код:
cmd(text, playerid, params[])
{
new text[128];
new string[128];
if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_GRAD2, "Use: /text + thetext");
format(string, sizeof(string), "%s", text);
Update3DTextLabelText(Label, 0xFFFFFFFF, string);
return 1;
}
That creates another "3DTextLabel" NOT update the actual "Label"
Any solution. Thanks to all!