Raised This Month: $ Target: $400
 0% 

Function to Forbid Primary Weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-15-2009 , 20:33   Re: Function to Forbid Primary Weapons
Reply With Quote #9

Quote:
Originally Posted by Mlk27 View Post
@bugsy

thanks..i uncommented the line to drop weapon instead cause with 'return HAM_SUPERCEDE' make players pick weapons and that leave no weapons on ground..

your code works but its not like i want..when i tested it, i still got to picked up weapons on ground at first then they got dropped..when i tried to pick the dropped weapons again, the code blocked it..ummm thats great but i don't understand why weapons are initially still pickup able when ham_touch already take care of that?

can you make it so the weapons lying on ground ara not pickupable at all..and if players buy or are given with primary weapons, drop those weapons and block them from being picked up..
My code should drop the weapon when purchased and then not be picked up if you walk over the weapon. Did you comment out HAM_SUPERCEDE?
__________________
Bugsy 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 17:01.


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