Do you mean like that?
PHP Code:
public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3], float angles[3], int& weapon, int& subtype, int& cmdnum, int& tickcount, int& seed, int mouse[2])
{
if( client ) // e.t.c. - other checks todo
{
buttons |= IN_DUCK;
return Plugin_Changed;
}
return Plugin_Continue;
}
__________________