27.08.2011, 18:39 
	
	
	
		Hey guys i want a command that hides all the textdraw even that map and money and other all things and also i am using a speedometer that also how can i make one ...??
	
	
	
	
for(new i; i < 2048; i++)
{
if(Text:i == Text:INVALID_TEXT_DRAW) continue;
TextDrawHideForAll(Text:i);
}
| 
 I'm assuming that'd only work if you named the textdraws 1, 2, 3, ect. Not to mention, a 2000 some-odd long loop would probably cause a lagspike. 
 | 
| 
 ............................................______  __  
....................................,.-'"...................``~., .............................,.-"..................................."-., .........................,/...............................................":, .....................,?........................... ...........................\, .................../.................................................. .........,} ................./.................................................. ....,:`^`..} .............../.................................................. .,:"........./ ..............?.....__............................ .............:`.........../ ............./__.(....."~-,_..............................,:`........../ .........../(_...."~,_........"~,_....................,:`..... ..._/ ..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....} ...........((.....*~_......."=-._......";,,./`..../"............../ ...,,,___.\`~,......"~.,....................`..... }............../ ............(....`=-,,.......`........................(......;_,,-" ............/.`~,......`-...............................\....../\ .............\`~.*-,.....................................|,./.....\,__ ,,_..........}.>-._\...................................|........... ...`=~-, .....`=~-,_\_......`\,.................................\ ...................`=~-,,.\,...............................\ ................................`:,,.............. .............`\..............__ .....................................`=-,...................,%`>--==`` ........................................_\........ ..._,-%.......`\ ...................................,<`.._|_,-&``................`  | 
for (new i = 0; i < MAX_TEXT_DRAWS; i++) TextDrawDestroy(Text:i);
| 
 pawn Code: 
  | 
.. i geuss :P
 Which damn speedometer? Can be probably removed by throwing the (concerned) FS to damn trash. If it's a mod, then uninstall..
	| 
 ............................................______  __  
....................................,.-'"...................``~., .............................,.-"..................................."-., .........................,/...............................................":, .....................,?........................... ...........................\, .................../.................................................. .........,} ................./.................................................. ....,:`^`..} .............../.................................................. .,:"........./ ..............?.....__............................ .............:`.........../ ............./__.(....."~-,_..............................,:`........../ .........../(_...."~,_........"~,_....................,:`..... ..._/ ..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....} ...........((.....*~_......."=-._......";,,./`..../"............../ ...,,,___.\`~,......"~.,....................`..... }............../ ............(....`=-,,.......`........................(......;_,,-" ............/.`~,......`-...............................\....../\ .............\`~.*-,.....................................|,./.....\,__ ,,_..........}.>-._\...................................|........... ...`=~-, .....`=~-,_\_......`\,.................................\ ...................`=~-,,.\,...............................\ ................................`:,,.............. .............`\..............__ .....................................`=-,...................,%`>--==`` ........................................_\........ ..._,-%.......`\ ...................................,<`.._|_,-&``................`  | 
if(strcmp(cmd,"/hidealltdw",true)== 0)
{
TextDrawHideForPlayer(textdraw1);
TextDrawHideForPlayer(textdraw2);
TextDrawHideForPlayer(textdraw3);
TextDrawHideForPlayer(textdraw4);
return 1;
}
	| 
 Yeah... 
At this moment it's impossible to hide HUD ( I know this is not your answer ), but you could actually create a client (and combine it with a plugin) to do this. This will require them to install the client, sadly. For your answer, use a variable per textdraw, and use a loop.  | 
| 
 You need to get all of you textdraws names then put 
pawn Code: 
 ![]()  | 
	
if(strcmp(cmd,"/hidealltdw",true)== 0)
{
    TextDrawHideForPlayer(textdraw1);
    TextDrawHideForPlayer(textdraw2);
    TextDrawHideForPlayer(textdraw3);
    TextDrawHideForPlayer(textdraw4);
    return 1;
}