Raised This Month: $ Target: $400
 0% 

Ham_Weapon_Reload Problem.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shine771
Senior Member
Join Date: Jun 2007
Old 08-12-2008 , 12:29   Ham_Weapon_Reload Problem.
Reply With Quote #1

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(idlog_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.
shine771 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode