View Single Post
xfusionlockx
AlliedModders Donor
Join Date: Aug 2014
Old 04-17-2019 , 19:25   Re: [ANY?] Button Detector
Reply With Quote #6

Quote:
Originally Posted by AK978 View Post
public Action OnPlayerRunCmd(int iClient, int &iButtons, int &iImpulse, float fVel[3], float fAngles[3], int &iWeapon, int &iSubtype, int &iCmdnum, int &iTickcount, int &iSeed, int iMouse[2])
{
PrintToChat(iClient, "%i", iButtons);
}

My keyboard doesn't have any action but prints 0,0 What does it mean?
Code:
public void OnButtonPressed(int iClient, int iButton)
{
     PrintToChat(iClient, "You pressed %i", iButton);
}
Code:
public void OnButtonReleased(int iClient, int iButton)
{
     PrintToChat(iClient, "You released %i", iButton);
}
You use those forwards with my plugin.
xfusionlockx is offline