[GM]I need help With KeyState Change
#1

pawn Код:
if(newkeys & KEY_CROUCH && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
        if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            if(VJUMP[playerid] == 1)
            {
                GetVehicleVelocity(GetPlayerVehicleID(playerid), xx, xy, xz);
                SetVehicleVelocity(GetPlayerVehicleID(playerid), xx, xy, xz + 0.25);
            }
        }
    }
i want whent i preass h ? but it say KEY_Crouch :\
Reply
#2

The key is KEY_CROUCH. It's c key on foot and h/caps lock for vehicles.
Reply
#3

oh thanks KonStantinos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)