Update3DTextLabelText question ?
#1

I've done it like this:

pawn Код:
new sampletext;

public OnGameModeInit()
{
  sampletext = Create3DTextLabel("This is text",0xEEEE88FF,1259.3859,-785.4590,92.7500,7.0,0,1); // TAG MISMATCH
  return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
  if (strcmp("/samplecommand", cmdtext, true, 13) == 0)
  {
    Update3DTextLabelText(sampletext,0xEEEE88FF,"Yay, i changed it"); // TAG MISMATCH
    return 1;
  }
  return 0;
}
Could you tell my what am I doing wrong here ? Thanks.
Reply
#2

Do new Text3Dampletext;
Reply
#3

Quote:
Originally Posted by 0rb
Do new Text3Dampletext;
Thanks 0rb
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)