15.10.2015, 22:50
please I want help woth high jump for player.. on key space
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys & KEY_JUMP)
{
new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z);
SetPlayerVelocity(playerid, x, y, z+0.5);
}
return 1;
}