Small 3d Text labels
#1

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?
Reply
#2

https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#3

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

Using this

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

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

Did you use "new Text3D:"?
Reply
#7

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);
Reply
#8

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.
Reply
#9

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 :/
Reply
#10

Okay, so I'm dealing with a noob.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)