SA-MP Forums Archive
Small 3d Text labels - 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: Small 3d Text labels (/showthread.php?tid=176986)



Small 3d Text labels - FrankC - 15.09.2010

I wanna make a 3D text over a pickup just like this picture:
/imageshack/i/pickup3d.jpg/
is there a script for this ore how do i make it myself?


Re: Small 3d Text labels - wups - 15.09.2010

https://sampwiki.blast.hk/wiki/Create3DTextLabel


Re: Small 3d Text labels - FrankC - 15.09.2010

Quote:
Originally Posted by wups
Посмотреть сообщение
Oh.. Thanks works now


Re: Small 3d Text labels - FrankC - 15.09.2010

Using this

Код:
Create3DTextLabel("LSPD HQ",0xFFFF00AA, 2134.2358,-2279.2097,20.6719, 20,0,1
but dont work, what could be the problem?


Re: Small 3d Text labels - wups - 15.09.2010

Does it compile good? Where did u put it? You should put it under OnGameModeInit() calback.


Re: Small 3d Text labels - Scenario - 15.09.2010

Did you use "new Text3D:"?


Re: Small 3d Text labels - FrankC - 15.09.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Did you use "new Text3D:"?
I dont have a that should i just do:

Код:
new Text3D:
Create3DTextLabel("LSPD HQ",0xFFFF00AA, 2134.2358,-2279.2097,20.6719, 20,0,1);



Re: Small 3d Text labels - Scenario - 15.09.2010

No. This should be your code;

pawn Код:
new Text3D:label123;
label123 = Create3DTextLabel("LSPD HQ",0xFFFF00AA, 2134.2358,-2279.2097,20.6719, 20,0,1);
That should work for you. I don't really use 3DText's yet.


Re: Small 3d Text labels - FrankC - 15.09.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
No. This should be your code;

pawn Код:
new Text3D:label123;
label123 = Create3DTextLabel("LSPD HQ",0xFFFF00AA, 2134.2358,-2279.2097,20.6719, 20,0,1);
That should work for you. I don't really use 3DText's yet.
I put this code
Код:
new Text3D:label123;
label123 = Create3DTextLabel("LSPD HQ",0xFFFF00AA, 2134.2358,-2279.2097,20.6719, 20,0,1);
into my .pwn file under gamemode under "OnGameModeInit()",
dosnt work :/


Re: Small 3d Text labels - Scenario - 15.09.2010

Okay, so I'm dealing with a noob.

pawn Код:
new Text3D:label123;
That does not go under "public OnGameModeInit"!