/mission with 3dtextlabel
#1

Hello! I want to put above the name 3dTextLabel with text 'In mission', when he take /mission from Bill Board. And when he dead/complete mission i want to delete 3dtextlabel.
Reply
#2

Try:
PHP код:
new Text3D:MissionLabel[MAX_PLAYERS]; 
PHP код:
//under the code for the mission start
        
MissionLabel[playerid] = Create3DTextLabel("In Mission"0xFF00FFFF30.040.050.040.00);
        
Attach3DTextLabelToPlayer(MissionLabel[playerid], playerid0.00.00.2); 
PHP код:
//under the code for mission ending
         
Delete3DTextLabel(MissionLabel[playerid]); 
Reply
#3

Oo, thx man, it work. But, I want, the text 'In Mission' to be higher than.
Reply
#4

Who can help me? sorry for 2x
Reply
#5

You can set the height of the label by the parameter Float:Z
The one highlighted in red.
Quote:

MissionLabel[playerid] = Create3DTextLabel("In Mission", 0xFF00FFFF, 30.0, 40.0, 50.0, 40.0,0, 0);

Reply
#6

Thank you very much guys!
Reply
#7

Sorry for 2x posts, but don't work to put the text higher than name.
Reply
#8

Who can HELP ME?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)