I'm making a new, cool mod... but i'm having problems with Ham_Weapon_Reload. I'm trying to hook it.. but nothing happens.
PHP Code:
//plugin_init {
RegisterHam(Ham_Weapon_Reload,"player","player_reloaded")
//}
public player_reloaded(id) log_amx("RELOADED")
Maybe i am doing something wrong? Can anyone give me an code snippet/example how to hook this event properly?
Mod: cstrike, but didn't work on HL too. I've found only one topic where Ham_Weapon_Reload was involved... but there i didn't find anything useful.
I don't want to catch the After-Reload event in the Messy way... i would like to use this method if it's possible. Thanks.