3DTextLabel - help
#1

Hello i was wondering how to make just one varible for a 3DTextLabel and say it works for about 20 or so cars/players. Ex.


pawn Код:
new Text3D:textlabel;
new Text3D:textlabel2;
Thats how it looks in my script right now but with about 25 of them so far.

I was wondering if you make them share the variable and like make it work for 20 cars. Someone told me to do this but it didn't even work..

pawn Код:
new Text3D:textlabel[20];
Then they said that it should work for 20 cars or so, or something like that. One thing it didnt work. So i was wondering is there a way/real way to make them share a variable or is it impossible? :P

Im sorry if this is bad grammer but i am trying to type fast. I got to go in like 10 minutes.
Reply
#2

pawn Код:
textlabel[0] = Create3DTextLabel(...
textlabel[1] = Create3DTextLabel(...
//And so on.
Then it should work.

If not, maybe you could show us your code, then we can fix it.
Reply
#3

Quote:
Originally Posted by Jeffry
Посмотреть сообщение
pawn Код:
textlabel[0] = Create3DTextLabel(...
textlabel[1] = Create3DTextLabel(...
//And so on.
Then it should work.

If not, maybe you could show us your code, then we can fix it.
Oh ok maybe i missed that part in the MSN message the guy sent me. Thanks man i'll try it real quick
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)