Little Assistance on a "SprintBind" Detection System
#4

pawn Код:
// HOLDING(keys)
#define HOLDING(%0) \
    ((newkeys & (%0)) == (%0))
pawn Код:
if (HOLDING( KEY_SPRINT ))
{
    SendClientMessageToAll(COLOR_YELLOW, "Someone is holding the sprint key");
    return 1;
}
example.... is that what your after?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)