/mission with 3dtextlabel - 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: /mission with 3dtextlabel (
/showthread.php?tid=410962)
/mission with 3dtextlabel -
sTr - 27.01.2013
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.
Re: /mission with 3dtextlabel -
bensmart469 - 27.01.2013
Try:
PHP код:
new Text3D:MissionLabel[MAX_PLAYERS];
PHP код:
//under the code for the mission start
MissionLabel[playerid] = Create3DTextLabel("In Mission", 0xFF00FFFF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(MissionLabel[playerid], playerid, 0.0, 0.0, 0.2);
PHP код:
//under the code for mission ending
Delete3DTextLabel(MissionLabel[playerid]);
Re: /mission with 3dtextlabel -
sTr - 27.01.2013
Oo, thx man, it work. But, I want, the text 'In Mission' to be higher than.
Re: /mission with 3dtextlabel -
sTr - 27.01.2013
Who can help me? sorry for 2x
Re: /mission with 3dtextlabel -
DaRk_RaiN - 27.01.2013
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);
|
Re: /mission with 3dtextlabel -
sTr - 27.01.2013
Thank you very much guys!
Re: /mission with 3dtextlabel -
sTr - 28.01.2013
Sorry for 2x posts, but don't work to put the text higher than name.
Re: /mission with 3dtextlabel -
sTr - 04.02.2013
Who can HELP ME?