Quote:
Originally Posted by Surimi
Yes please, if i want it binded to F, how please ?
|
If this suits you...
Add this to plugin_init()
PHP Code:
register_impulse(100, "impulse_flashlight")
then add this somewhere in ur code:
PHP Code:
public impulse_flashlight(id, impulse)
{
foo(id) // here you run ability or somewhat you need
return PLUGIN_HANDLED // block flashlight
}
__________________