TextDraw ID's
#1

Hi

I want to do something like this:

pawn Код:
TextDraw[_:TextDraw] = 1;
Would that work?

Thanks
Reply
#2

Quote:
Originally Posted by Blacklite
Hi

I want to do something like this:

pawn Код:
TextDraw[_:TextDraw] = 1;
Would that work?

Thanks
Uuhm, what r u doing
What are you trying to do?
Reply
#3

Yeah what are you trying to do? And what function? :S
Reply
#4

Quote:
Originally Posted by Blacklite
Hi

I want to do something like this:

pawn Код:
TextDraw[_:TextDraw] = 1;
Would that work?

Thanks
You can, I use TextDraws in enums all the time...

Код:
enum GTDraw
{
	Text:gText,
	active,
}
new gGameTextDraw[MAX_PLAYERS][GTDraw];
Reply
#5

Yeah, but do any of you actually know what this does:

pawn Код:
_:TextDraw
Because nobody seems to get the idea..

Basically, _: removes the type from the variable, which I hope would return a number, the ID for the textdraw from 1-1024 or whatever.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)