3dLabel do not appear
#1

It appears without ID but if i use ID then it wont appear.

Code :
pawn Код:
new Text3D:Alahambra;

OnGameModeInit()
Alahambra = Create3DTextLabel("Alahambra",0x008080FF, 1836.7153,-1682.4954,13.3364,40.0,0);
And my update command:
pawn Код:
CMD:change(playerid, params[])
{
    new text;
    if (sscanf(params, "i", text)) return SendClientMessage(playerid, LIGHTGREEN, "USaGE: /chagne [text]");
   
    new string[128];
    format(string, sizeof(string), "%s", text);
    Update3DTextLabelText(Alahambra, COLOR_GRAD2, string);
  return 1;
}

Reply
#2

omg, text is a string.. use:
new text[50];
and sscanf(params, "s", text)...
Reply
#3

Yeah okay, but the 3dLabel does not show itself at all. he even wont appear
Reply
#4

I dont know maybe I dont have enough info..
Reply
#5

Any help ?
Reply
#6

Quote:
Originally Posted by wiilweer
pawn Код:
CMD:[color=red]change[/color](playerid, params[])
    if (sscanf(params, "i", text)) return SendClientMessage(playerid, LIGHTGREEN, "USaGE: /chagne [text]");
Just pointing out a mistake.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)