using get player keys, should be easy help + rep.
#2

KEY_SECONDARY_FIRE

You missed an 'A'.

EDIT: Full code
pawn Код:
if (newkeys == KEY_SECONDARY_FIRE)
        {
            if(GetPlayerInterior(playerid) < 1) return cmd_enter;
            else if(GetPlayerInterior(playerid) >= 1) return cmd_exit;
        }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)