SA-MP Forums Archive
how would i lower this 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how would i lower this 3dtextlabel (/showthread.php?tid=247955)



how would i lower this 3dtextlabel - CrazyBlob - 11.04.2011




how would i lower it? heres the code


Код:
quakelabel[playerid] = Create3DTextLabel("[BOT]Quake",COLOR_YELLOW,0.0,0.0,60.0,50.0,0);
thanks


AW: how would i lower this 3dtextlabel - Nero_3D - 11.04.2011

I will give you the parameter names

pawn Код:
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);
And everyone who had maths should know what X, Y and Z is

But you just could use Attach3DTextLabelToPlayer which would be easier


Re: how would i lower this 3dtextlabel - CrazyBlob - 11.04.2011

yeah i lower the Z so its not as tall and it doesnt work ty 4 replyin


Re: how would i lower this 3dtextlabel - CrazyBlob - 11.04.2011

sorry another post : ive tryed editing the Z and it doesnt effect it is their another way to lower it?


Re: AW: how would i lower this 3dtextlabel - Vince - 11.04.2011

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
But you just could use Attach3DTextLabelToPlayer which would be easier
This ^


Re: how would i lower this 3dtextlabel - CrazyBlob - 11.04.2011

i am attaching it to a BOT


Код:
if(!strcmp(npcname, "[BOT]Quake", true)) //Checking if the NPC's name is MyFirstNPC
    {
      SetPlayerSkin(playerid,295);
      quakelabel[playerid] = Create3DTextLabel("[BOT]Quake",COLOR_YELLOW,0.0,0.0,60.0,50.0,0);
      Attach3DTextLabelToPlayer(quakelabel[playerid], playerid, 0.0, 0.0, 0.7);
    }



Re: how would i lower this 3dtextlabel - CrazyBlob - 11.04.2011

fixed thanks