Quote:
Originally Posted by Torge
PHP Code:
#include <amxmodx> #include <engine> #include <fakemeta>
public client_PreThink(id) { new button; button = pev(id, pev_button); if (button & IN_ATTACK) { // Your code } }
Not sure if it works too for holding, but you can try it.
|
Ok thanks,but i want to detect if players stop holding attack buton too.