Is player pressed double keys
#2

Use this:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if((newkeys & KEY_1) && (newkeys & KEY_2))
    {
        // Code
    }
    return 1;
}
Here's a list of all keys: https://sampwiki.blast.hk/wiki/Keys
Reply


Messages In This Thread
Is player pressed double keys - by Banditukas - 09.02.2015, 17:55
Re: Is player pressed double keys - by CalvinC - 09.02.2015, 18:04
Re: Is player pressed double keys - by Vince - 09.02.2015, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)