Raised This Month: $ Target: $400
 0% 

ham weaponbox


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
neverminde
Senior Member
Join Date: Feb 2011
Location: St.Piter
Old 04-02-2011 , 16:41   ham weaponbox
Reply With Quote #1

Code:
public plugin_init() {     
...
      RegisterHam(Ham_Touch, "weaponbox", "fwdTouch")     
...
}

public fwdTouch(ent, id) {     
      if (is_user_alive(id))     
       return HAM_SUPERCEDE     

      return HAM_IGNORED     
}
What do this part of script?
I think it doesnot allow players to pick up weapon.

if so, then i want to add bool element. true -> ignor weapon ; false -> pickup weapon. i was tring, but unsuccessfuly.
How to code it?
neverminde 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 14:31.


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