Raised This Month: $ Target: $400
 0% 

NS and weapon damage - not working?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 04-08-2005 , 11:28  
Reply With Quote #2

ns_get_weap_dmg(weapon_ID)/ns_set_weap_dmg(weapon_ID)

u need to give the weapon ID not the weapon number
WEAPON_WELDER is a weapon number

i suggest:
1) cycle through all ents
2) check each ent if its a welder
3) if welder check if it belongs to the player u want to increase damage

now u have the weapon ID and u can use both functions

my gnome plugin is dioing it this way
__________________
alias White Panther
karlos is offline
 



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 10:02.


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