Raised This Month: $ Target: $400
 0% 

Bad Touch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 02-21-2013 , 14:34   Bad Touch
Reply With Quote #1

Please help, I use a variable to block skimmed off arms but when the variable is 0 so sometimes still do not pick up weapons "armoury_entity" I do not understand why please help.

PHP Code:
RegisterHam(Ham_Touch,"weaponbox","player_touchweapon")
RegisterHam(Ham_Touch,"armoury_entity","player_touchweapon"
PHP Code:
public player_touchweapon(ident)
{
    if(
g_BlockWeapons) return HAM_SUPERCEDE
    
return HAM_IGNORED

EDIT: But when a player takes a gun "weaponbox" and had him pick up a gun goes' armoury_entity "but straight weapon" armoury_entity "not ...
__________________

Last edited by _GamerX; 02-21-2013 at 14:37.
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
 



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 21:44.


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