Setting Knife Model
Why wont it work? The knife model is staying at default..
just wondering wats wrong with my code? :P PHP Code:
|
Re: Setting Knife Model
Attach the custom include which you are using. Also, there's absolutely no need to precache the default knife model - everyone has it.
|
Re: Setting Knife Model
Use Ham_ItemDeploy instead of currentweapon event. Also, please give us your include file and the plugin that create this inc.
|
Re: Setting Knife Model
It's not that fine. Now, when I'm on my PC, I can take a look at all of it.
You can't read_data(2) in menu callback?! This is especial data for the CurWeapon event. As mentioned above, you can (and better) use Ham_ItemDeploy, or you can register CurWeapon only with knife. Look at amxconst.inc to see the index of knife and register in the event parameters (which now are "1=1"). Also, I think that callbacks should be registered with menu_makecallback("MyCallBackFunction"), but I could be wrong here (if your callback is working properly). |
| All times are GMT -4. The time now is 21:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.