Attach 3D text to a player?
#1

Hi , i Create RP Server, so i want if a Normal Player connect inGame , Attach a 3D text to Him (in the top of his name) with the Text "Normal Player" (for Teste) Can you Help me?

Thanks.
Reply
#2

Can You tell me if it Shoulds work ?
PHP код:
public OnPlayerConnect(playerid)
{
if(
PlayerInfo[playerid][pLevel] == 1)
{
label[playerid] = Create3DTextLabel("New Player[Lvl 1]"0x008080FF30.040.050.040.00);
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.7);
}
else if(
PlayerInfo[playerid][pLevel] == 2)
{
label[playerid] = Create3DTextLabel("New Player[Lvl 2]"0x008080FF30.040.050.040.00);
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.7);

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)