Raised This Month: $ Target: $400
 0% 

Ham_Item_Deploy


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-18-2009 , 14:06   Ham_Item_Deploy
Reply With Quote #1

shouldnt this work or did i leave something out by mistake? iam testing on DoD, but it doesnt work. the classnames is registered right, i dont get any errors.. is it an offset or something i missed?

Code:
 
new const Knife_Names[][] = { "weapon_amerknife", "weapon_spade", "weapon_gerknife" }
 
public plugin_init() 
{
for (new i = 0; i < sizeof Knife_Names; i++)
 RegisterHam(Ham_Item_Deploy, Knife_Names[i], "current_wpn", 1) 
}
 
public current_wpn(id)
{ 
client_print(id,3, "knife is forward")
}
- cheers!
__________________
Dr.G is offline
 


Thread Tools
Display Modes

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 08:58.


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