20.02.2011, 10:07
How i can change player speed and jump highness?
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_JUMP) {
new
Float: vX,
Float: vY,
Float: vZ;
GetPlayerVelocity(playerid, vX, vY, vZ);
SetPlayerVelocity(playerid, vX, vY, (vZ * 1.3));
}
return 1;
}