Can anyone help me? please.
#3

You were checking for "IsJumping" (under OnPlayerKeyStateChange), instead of "SuperJumpEnabled" (command)

pawn Код:
new
    SuperJumpEnabled[MAX_PLAYERS],
    Float:pX,
    Float:pY,
    Float:pZ;

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys == KEY_JUMP && SuperJumpingEnabled[playerid] == 1)
    {
        SuperJumpingEnabled[playerid] = 0;
        GetPlayerVelocity(playerid, pX, pY, pZ);
        SetPlayerVelocity(playerid, pX, pY, pZ +0.4);
    }
    return 1;
}
Reply


Messages In This Thread
Can anyone help me? please. - by Rudy_ - 25.04.2012, 13:34
Re: Can anyone help me? please. - by Rudy_ - 25.04.2012, 13:53
Re: Can anyone help me? please. - by Pinguinn - 25.04.2012, 13:58
Re: Can anyone help me? please. - by Rudy_ - 25.04.2012, 14:11
Re: Can anyone help me? please. - by SuperViper - 25.04.2012, 14:20
Re: Can anyone help me? please. - by Rudy_ - 25.04.2012, 14:25
Re: Can anyone help me? please. - by SuperViper - 25.04.2012, 14:27
Re: Can anyone help me? please. - by Rudy_ - 25.04.2012, 14:34
Re: Can anyone help me? please. - by SuperViper - 25.04.2012, 14:48
Re: Can anyone help me? please. - by Rudy_ - 25.04.2012, 14:52

Forum Jump:


Users browsing this thread: 2 Guest(s)