[Question]AttachPlayer3DTextLabelToPlayer?
#1

hello

not exist "AttachPlayer3DTextLabelToPlayer" function, but "Attach3DTextLabelToPlayer" has exist
How did this happen?

who can make this?


sorry my bad English

thx
Reply
#2

What do you mean?

Would you like this:

pawn Код:
stock AttachPlayer3DTextLabelToPlayer(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
{
  return Attach3DTextLabelToPlayer(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
}
Reply
#3

Quote:
Originally Posted by Re_SerDia
hello

not exist "AttachPlayer3DTextLabelToPlayer" function, but "Attach3DTextLabelToPlayer" has exist
How did this happen?

who can make this?


sorry my bad English

thx
You can't attach a Players label to another player...WTF?
Reply
#4

Quote:
Originally Posted by HydraX
Quote:
Originally Posted by Re_SerDia
hello

not exist "AttachPlayer3DTextLabelToPlayer" function, but "Attach3DTextLabelToPlayer" has exist
How did this happen?

who can make this?


sorry my bad English

thx
You can't attach a Players label to another player...WTF?
You can, just save the 3D text label into a variable when you set it for a player then it will work by using the text ID.

E.g.

pawn Код:
new TextID[MAX_PLAYERS];

//When a players TextID is set you put
TextID[playerid] = TextID;

stock AttachPlayer3DTextLabelToPlayer(playerid, TargetID)
{
  Attach3DTextLabelToPlayer(TextID[playerid], TargetID, /*Float:OffsetX*/1, /*Float:OffsetY*/1, /*Float:OffsetZ*/1);
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)