Can someone help me in creating it ?
#2

don't know about left alt but you can choose any of the keys from the list in the link below:
https://sampwiki.blast.hk/wiki/Keys

I am using key crouch.

pawn Код:
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED( KEY_CROUCH ))
    {
        new FLOAT:x, FLOAT:y, FLOAT:z;
        GetPlayerPos(playerid, x, y, z);
        SetPlayerPos(playerid, x, y, z+25);
    }

    return 1;
}
this may fulfill your needs. If you want to make a jump higher then just increase the value after flaot Z.
Reply


Messages In This Thread
Can someone help me in creating it ? - by killing - 10.08.2014, 06:50
Re: Can someone help me in creating it ? - by Champ - 10.08.2014, 07:34
Re: Can someone help me in creating it ? - by killing - 10.08.2014, 09:13
Re: Can someone help me in creating it ? - by killing - 10.08.2014, 09:35
Re: Can someone help me in creating it ? - by Ritzy2K - 10.08.2014, 11:05
Re: Can someone help me in creating it ? - by Champ - 10.08.2014, 13:07

Forum Jump:


Users browsing this thread: 5 Guest(s)