How to do a command with Key? zcmd
#9

Change your code to this

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) 
{ 
    if((newkeys & 262144) && !(oldkeys & 262144)) 
    { 
        cmd_flash(playerid,params[]) ;
    } 
    return 1; 
}
Reply


Messages In This Thread
How to do a command with Key? zcmd - by UserName31 - 01.08.2013, 06:08
AW: How to do a command with Key? zcmd - by CutX - 01.08.2013, 06:42
Re: AW: How to do a command with Key? zcmd - by UserName31 - 01.08.2013, 06:49
AW: How to do a command with Key? zcmd - by CutX - 01.08.2013, 06:50
Re: How to do a command with Key? zcmd - by appleomax - 01.08.2013, 06:53
Re: How to do a command with Key? zcmd - by UserName31 - 01.08.2013, 17:08
Re: How to do a command with Key? zcmd - by Yashas - 01.08.2013, 17:15
Re: How to do a command with Key? zcmd - by RedJohn - 01.08.2013, 17:19
Re: How to do a command with Key? zcmd - by Yashas - 01.08.2013, 17:21
Re: How to do a command with Key? zcmd - by UserName31 - 01.08.2013, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)