Raised This Month: $ Target: $400
 0% 

Ham_Item_Holster : Bad arg count.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-14-2009 , 05:10   Re: Ham_Item_Holster : Bad arg count.
Reply With Quote #1

the third arg seems to be skiplocal. HLSDK says skiplocal is 1 if client is predicting weapon animations.

ExecuteHam(Ham_Item_Holster, pActiveItem, 0) or ExecuteHam(Ham_Item_Holster, pActiveItem, 1)


I guess "HamFilter" appears because the arg type is not valid.

Using ExecuteHam(Ham_Item_Holster, pActiveItem, "HamFilter") will not work and you will get "[HAMSANDWICH] Entity out of range (-1)"

Last edited by Arkshine; 04-14-2009 at 05:23.
Arkshine is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-14-2009 , 05:15   Re: Ham_Item_Holster : Bad arg count.
Reply With Quote #2

Quote:
Originally Posted by arkshine View Post
the third arg seems to be skiplocal.
Thanks, but how have you found that ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
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 02:27.


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