20.12.2015, 19:23
PHP код:
if(PRESSED(KEY_JUMP))
{
if(team[playerid] == TEAM_TEST)
{
if(pInfo[playerid][pTestClass] == TEST)
{
if((gettime() - Abilitys[playerid][HighJump]) > 6)
{
new Float:x, Float:y, Float:z;
GetPlayerVelocity(playerid, x, y, z);
SetPlayerVelocity(playerid, (x * 3.0), (y * 3.0), (z + 1.0));
Abilitys[playerid][HighJump] = gettime();
}
}
}
}