3Dtext Label with kills
#1

Hello,

Im confused on anything a 3DTextLabel and attach to the Label over his head/Nametag. Im not good at 3dTextLabel's. 3Dtextlabel string should be "Soldier".

The Text Label will be attached to the player under OnPlayerSpawn if the player will have

pawn Код:
PlayerInfo[playerid][pKills] > 100
If someone can give me a working code. Ill appreciate as well as will rep them.

Thanks
Reply
#2

Someone please help. I cant see the attached text labels on my player? Cant i see them? others can?
Reply
#3

pawn Код:
public OnPlayerSpawn( playerid )
{
    if( PlayerInfo[ playerid ][ pKills ] > 100 )
    {
        new Text3D:label = Create3DTextLabel( "Soldier", -1, 30.0, 40.0, 50.0, 40.0, 0 );
        Attach3DTextLabelToPlayer( label, playerid, 0.0, 0.0, 0.7 );
    }
    return 1;
}
Also, you can't see the 3D text on you/your head. Only the others can
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)