Create a keybind to execute (/enter /exit and /car engine) commands
#7

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

//OnPlayerKeyStateChange
//if they pressed Fire and Crouch key.
if (PRESSED( KEY_FIRE | KEY_CROUCH ))
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)