Raised This Month: $ Target: $400
 0% 

Maps give AK, when You are in special room


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 10-13-2010 , 12:02   Maps give AK, when You are in special room
Reply With Quote #1

So, there is map deathrun_darkside and on the end of it, if ct will come into gun room, server gives gim AK, if he will spam dropping(serwer is always giving ak, no matter how many) server dies How to prevent this?
The best way is to by plugin remove that zone, where players is getting AK, but how?
FiFiX is offline
Send a message via Skype™ to FiFiX
ARES[ro]
Senior Member
Join Date: Apr 2010
Old 10-13-2010 , 12:55   Re: Maps give AK, when You are in special room
Reply With Quote #2

R u using prethink?i can better help if u post the function where it gives guns.
ARES[ro] is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 10-13-2010 , 14:08   Re: Maps give AK, when You are in special room
Reply With Quote #3

It is coded in map.
FiFiX is offline
Send a message via Skype™ to FiFiX
ARES[ro]
Senior Member
Join Date: Apr 2010
Old 10-13-2010 , 15:26   Re: Maps give AK, when You are in special room
Reply With Quote #4

ohh then yeah u need hardcoded plugin where it finds the entity with the specific keyvalues like targetname target or classname and remove it or also u can change the target keyvalue so it doesnt trigger the info_equip thing
u need to find that in the map use bsp viewer a tool that can be found on fps banana
ARES[ro] is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 10-13-2010 , 16:12   Re: Maps give AK, when You are in special room
Reply With Quote #5

So classname is:
game_player_equip

And what should I do to disable that by using plugin?

EDIT:
It would be something like that:
Code:
remove_entity( find_ent_by_class( -1, "game_player_equip") );
On plugin init in specified map?

EDIT2:
on the map, there are two game_player_equip entities... How to remove that with AK, or both?


SLOVED:
use while condition ;d

Last edited by FiFiX; 10-13-2010 at 18:13.
FiFiX is offline
Send a message via Skype™ to FiFiX
Reply



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:28.


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