Move3DTextLabel(ID, string[], color, Float:NewX, Float:NewY, Float:NewZ)
#3

Quote:
Originally Posted by Blacklite
Код:
public Move3DTextLabel(Text3D:ID, string[], color, Float:NewX, Float:NewY, Float:NewZ)
{
  Delete3DTextLabel(ID);
  ID = Create3DTextLabel(string,0x008080FF,NewX,NewY,NewZ,40.0,0, 1);
}
Also, this will save the ID to the variable, which might be useful:

Код:
public Move3DTextLabel(&Text3D:ID, string[], color, Float:NewX, Float:NewY, Float:NewZ)
{
  Delete3DTextLabel(ID);
  ID = Create3DTextLabel(string,0x008080FF,NewX,NewY,NewZ,40.0,0, 1);
}
Your a genious thank you, also do i put the code in like this?:
Код:
Move3DTextLabel(*Whatever I put into this*, 0x0000FF, x, y, z);
edit: Tried it, got a argument warning.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)