Can someone help me in creating it ?
#6

just change the label of float.

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

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED( KEY_CROUCH ))
    {
        new FLOAT:q, FLOAT:w, FLOAT:e;
        GetPlayerPos(playerid, q, w, e);
        SetPlayerPos(playerid, q, w, e+25);
    }

    return 1;
}
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)