What's Wrong
#2

Try this:
PHP код:
#define PRESSED(%0) \
    
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
 if (
PRESSED(KEY_NO))
    {
        
TextDrawHideForPlayer(playerid,Textdraw0);
        
TextDrawHideForPlayer(playerid,Textdraw1);
        
TextDrawHideForPlayer(playerid,Textdraw2);
        
TextDrawHideForPlayer(playerid,Textdraw3);
        
TextDrawHideForPlayer(playerid,Textdraw4);
        
TextDrawHideForPlayer(playerid,Textdraw5);
        
TextDrawHideForPlayer(playerid,Textdraw6);
        
TextDrawHideForPlayer(playerid,Textdraw7);
        
TextDrawHideForPlayer(playerid,Textdraw8);
        
TextDrawHideForPlayer(playerid,Textdraw9);
        
TextDrawHideForPlayer(playerid,Textdraw10);
    } 
Reply


Messages In This Thread
What's Wrong - by CarRamper - 21.06.2016, 11:12
Re: What's Wrong - by ATGOggy - 21.06.2016, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)