/Superjump
#2

pawn Код:
CMD:superjump( playerid, params[ ] )
{
    #pragma unused params
    if(PlayerInfo[playerid][SjKey] == 0)
    {
        PlayerInfo[playerid][SjKey] = 0;
        SendClientMessage(playerid, COLOR_RED, "{00FFCC}[AFS]{FF0000}You turned off Super Jump {00FF00}(/Superjump)");
    }
    else
    {
        PlayerInfo[playerid][SjKey] = 1;
        SendClientMessage(playerid, COLOR_RED, "{00FFCC}[AFS]{FF0000}You turned on Super Jump. Press {00FF00}LShift {FF0000}to use it");
    }
}

if ( newkeys & KEY_JUMP && PlayerInfo[ playerid ][ SjKey ] == 1 )
    {
            new Float:SuperJump[3];
            GetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]);
            SetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]+5);
            return ( 1 );
    }
Reply


Messages In This Thread
/Superjump - by Flokx - 17.09.2014, 01:15
Re: /Superjump - by Dangjai - 17.09.2014, 01:22
Re: /Superjump - by Flokx - 17.09.2014, 01:23
Re: /Superjump - by Don_Cage - 17.09.2014, 01:47
Re: /Superjump - by Flokx - 17.09.2014, 03:38
Re: /Superjump - by Stinged - 17.09.2014, 03:39
Re: /Superjump - by IamPRO - 17.09.2014, 09:41
Re: /Superjump - by thefatshizms - 17.09.2014, 10:52
Re: /Superjump - by IamPRO - 17.09.2014, 12:59
Re: /Superjump - by thefatshizms - 17.09.2014, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)