Raised This Month: $ Target: $400
 0% 

Block cts from taking weapons from ground.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 02-03-2010 , 06:12   Block cts from taking weapons from ground.
Reply With Quote #1

I need to block CT's from taking weapons from ground, Ive tried this:
But it have bugs, it block CT's taking weapons that they throw, but they can pick up weapons that map spawns or that other players drop.

PHP Code:
  RegisterHam(Ham_Touch"weaponbox""fw_TouchWeapon"
PHP Code:
public fw_TouchWeapon(weaponid
{
  if (
cs_get_user_team(id) == CS_TEAM_CT
   return 
HAM_SUPERCEDE

    return 
HAM_IGNORED

__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
 



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 07:25.


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