3dtextlabel
#2

pawn Код:
new Text3D:ThreeD[MAX_PLAYERS];
pawn Код:
public OnPlayerConnect(playerid)
{
  ThreeD[playerid] = Create3DTextLabel("I'm a groove member", COLOR, 0.0, 0.0, 0.0, 0.0, 0, 0); // change COLOR for the real color and "i'm a..." for your text
  return 1;
}
pawn Код:
public OnPlayerDisconnect(playerid)
{
  Delete3DTextLabel(ThreeD[playerid])
  return 1;
}
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/command", true) == 0) //
  {
    Attach3DTextLabelToPlayer(ThreeD[playerid], playerid, 0.0, 0.0, 1); // offset
    return 1;
  }
  return 0;
}
Reply


Messages In This Thread
3dtextlabel - by bartje01 - 28.02.2010, 00:51
Re: 3dtextlabel - by Miguel - 28.02.2010, 01:09
Re: 3dtextlabel - by bartje01 - 28.02.2010, 01:36
Re: 3dtextlabel - by bartje01 - 28.02.2010, 07:50

Forum Jump:


Users browsing this thread: 2 Guest(s)