Raised This Month: $ Target: $400
 0% 

Setting Knife Model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-14-2014 , 07:54   Re: Setting Knife Model
Reply With Quote #1

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).
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Reply



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 21:09.


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