Jump height
#8

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(gTeam[playerid] != TEAM_HUNTER)
    {
        if ( PRESSED ( KEY_JUMP ) )
        {
            new Float:X1 , Float:Y1 , Float:Z1 ;
            GetPlayerVelocity ( playerid, X1, Y1, Z1 );
            SetPlayerVelocity ( playerid, X1, Y1, Z1 + 0.5 );
        }
    }
    return 1;
}
Try that.
Reply


Messages In This Thread
Jump height - by Kitten - 27.11.2010, 02:28
Respuesta: Jump height - by MrDeath537 - 27.11.2010, 02:37
Re: Jump height - by Kitten - 27.11.2010, 02:44
Respuesta: Re: Jump height - by MrDeath537 - 27.11.2010, 02:49
Re: Jump height - by Kitten - 27.11.2010, 02:54
Re: Jump height - by The_Gangstas - 27.11.2010, 02:57
Re: Jump height - by Kitten - 27.11.2010, 02:58
Re: Jump height - by [L3th4l] - 27.11.2010, 03:12
Re: Jump height - by Kitten - 27.11.2010, 03:17
Re: Jump height - by iFriSki - 27.11.2010, 03:26

Forum Jump:


Users browsing this thread: 4 Guest(s)