PHP Code:
public FwdCmdStart(id, uc_handle)
{
static Button, OldButtons;
Button = get_uc(uc_handle, UC_Buttons);
OldButtons = pev(id, pev_oldbuttons);
if((Button & IN_SCORE) && !(OldButtons & IN_SCORE))
{
client_print(id, print_chat, "tab pressed");
}
}
Doesn't work.
But if I substitute IN_SCORE with IN_USE, it does!
What's up with that?
__________________