Help with the jump ability
#2

PHP код:
if(PRESSED(KEY_JUMP))
{
    if(
team[playerid] == TEAM_TEST)
    {
        if(
pInfo[playerid][pTestClass] == TEST)
        {
            if((
gettime() - Abilitys[playerid][HighJump]) > 6)
            {
                new 
Float:xFloat:yFloat:z;
                
GetPlayerVelocity(playeridxyz);
                
SetPlayerVelocity(playerid, (3.0), (3.0), (1.0));
                
Abilitys[playerid][HighJump] = gettime();
            }
        }
    }

Reply


Messages In This Thread
Help with the jump ability - by D1am0nd - 20.12.2015, 18:11
Re: Help with the jump ability - by zPain - 20.12.2015, 19:23

Forum Jump:


Users browsing this thread: 3 Guest(s)