Key state not working
#4

PHP код:
// PRESSED(keys)
#define PRESSED(%0) \
    
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) 
PHP код:
if(PRESSED(KEY_FIRE))
{
    
REFILLBOX[playerid] = 0;
    
TextDrawHideForPlayer(playeridTextdraw0);
    
TextDrawHideForPlayer(playeridTextdraw1);
    
TextDrawHideForPlayer(playeridTextdraw2);
    
TextDrawHideForPlayer(playeridTextdraw3);
    
TextDrawHideForPlayer(playeridTextdraw4);
    
TextDrawHideForPlayer(playeridTextdraw5);
    
TextDrawHideForPlayer(playeridTextdraw6);
    
TextDrawHideForPlayer(playeridTextdraw7);
    
TextDrawHideForPlayer(playeridTextdraw8);
    
TextDrawHideForPlayer(playeridTextdraw7);
    return 
1;

Reply


Messages In This Thread
Key state not working - by Arshman - 17.01.2016, 13:01
Re: Key state not working - by Arshman - 17.01.2016, 13:56
Re: Key state not working - by Arshman - 17.01.2016, 14:40
Re: Key state not working - by d1git - 17.01.2016, 15:00

Forum Jump:


Users browsing this thread: 1 Guest(s)