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

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
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;
        }
Woah woops haha, three errors.
pawn Код:
hrp.pwn(18653) : error 017: undefined symbol "newkeys"
hrp.pwn(18655) : error 076: syntax error in the expression, or invalid function call
hrp.pwn(18656) : error 076: syntax error in the expression, or invalid function call
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)