public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if ( PRESSED ( KEY_JUMP ) ) { new Float:X1 , Float;Y1 , Float:Z1 ; GetPlayerVelocity ( playerid, Float:X1, Float:Y1, Float:Z1 ); SetPlayerVelocity (playerid, Float:X1, Float:Y1, Float:Z1, 0.5 ); } return 1;}