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 drop( id )
{
RemoveAllItems(id)
return PLUGIN_HANDLED
}
public Knife_Holster(iEnt, whatisthis)
{
client_print(0, print_chat, "Knife %d %d", iEnt, whatisthis)
}
public Glock_Holster(iEnt, Float:whatisthis)
{
client_print(0, print_chat, "Glock %d %f", iEnt, whatisthis)
}
public Ak47_Holster(iEnt, whatisthis[]) // o_O
{
client_print(0, print_chat, "Ak47 %d %s", iEnt, whatisthis)
}
Code:
Knife 108 0
Glock 109 0.000000
Ak47 110 HamFilter
__________________