jump button C
#1

How can I do that if I press the C key the character jump? more I press the more C goes high, thanks
Reply
#2

Here is it,

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_CROUCH)
    {
        SetPlayerVelocity(playerid, 0.0, 0.0, 0.5);
    }
    return 1;
}
Reply
#3

Can not Jump
Reply
#4

I tested, it can jump, but not forward. You need to ask a pro for that.

SetPlayerVelocity
GetPlayerVelocity
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)