SA-MP Forums Archive
3Dtext Label with kills - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3Dtext Label with kills (/showthread.php?tid=314834)



3Dtext Label with kills - Ballu Miaa - 31.01.2012

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


Re: 3Dtext Label with kills - Ballu Miaa - 31.01.2012

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


Re: 3Dtext Label with kills - Konstantinos - 31.01.2012

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