[Help] OnPlayerKey....
#8

Quote:
Originally Posted by Gh05t_
View Post
KEY_JUMP will still be passed to those whose value is greater than 1!

pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys == KEY_JUMP)
    {
        if(RegStep[playerid] > 1) return 0;
    }
    return 1;
}
That was not the question, though. My code works just fine.
Reply


Messages In This Thread
[Help] OnPlayerKey.... - by Jimbo01 - 25.12.2011, 12:07
Re: [Help] OnPlayerKey.... - by Norck - 25.12.2011, 12:15
Re: [Help] OnPlayerKey.... - by Jimbo01 - 25.12.2011, 12:20
Re: [Help] OnPlayerKey.... - by Sinner - 25.12.2011, 12:22
Re: [Help] OnPlayerKey.... - by Jimbo01 - 25.12.2011, 12:30
Re: [Help] OnPlayerKey.... - by Gh05t_ - 25.12.2011, 12:35
Re: [Help] OnPlayerKey.... - by Jimbo01 - 25.12.2011, 12:50
Re: [Help] OnPlayerKey.... - by Sinner - 25.12.2011, 23:19
Re: [Help] OnPlayerKey.... - by Gh05t_ - 25.12.2011, 23:45

Forum Jump:


Users browsing this thread: 1 Guest(s)