23.07.2010, 19:52
Hey Guys!
I have many textdraws, and I want to make them all hideable with pressing LMB.
To do it, I have to loop through all the textdraws, and close all of them, because I think I cannot hide just the active one.
I've already made these lines:
What should I put in place of '??' ?
Thanks
Nonameman
I have many textdraws, and I want to make them all hideable with pressing LMB.
To do it, I have to loop through all the textdraws, and close all of them, because I think I cannot hide just the active one.
I've already made these lines:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(RELEASED(KEY_FIRE))
{
for(i=0; i<MAX_??; i++)
{
TextDrawHideForPlayer(playerid, i);
}}
return 1;
}
Thanks
Nonameman