Raised This Month: $ Target: $400
 0% 

Ham_Item_Holster : Bad arg count.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 04-14-2009 , 04:37   Re: Ham_Item_Holster : Bad arg count.
Reply With Quote #1

I suggest creating a forward with that, if you get that error... Try to see what the third argument is ... (in case of the forward the second one ...)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-14-2009 , 04:45   Re: Ham_Item_Holster : Bad arg count.
Reply With Quote #2

Can't believe what i see !!

PHP Code:
    RegisterHam(Ham_Item_Holster"weapon_knife""Knife_Holster")
    
RegisterHam(Ham_Item_Holster"weapon_glock18""Glock_Holster")
    
RegisterHam(Ham_Item_Holster"weapon_ak47""Ak47_Holster")

    
register_clcmd("drop""drop")
}

public 
dropid )
{
    
RemoveAllItems(id)
    return 
PLUGIN_HANDLED
}

public 
Knife_Holster(iEntwhatisthis)
{
    
client_print(0print_chat"Knife %d %d"iEntwhatisthis)
}

public 
Glock_Holster(iEntFloat:whatisthis)
{
    
client_print(0print_chat"Glock %d %f"iEntwhatisthis)
}

public 
Ak47_Holster(iEntwhatisthis[]) // o_O
{
    
client_print(0print_chat"Ak47 %d %s"iEntwhatisthis)

Code:
Knife 108 0
Glock 109 0.000000
Ak47 110 HamFilter
__________________
- 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