Raised This Month: $51 Target: $400
 12% 

[CS:GO] Remove Dropped Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Baws
Veteran Member
Join Date: Oct 2012
Old 04-05-2015 , 20:08   [CS:GO] Remove Dropped Weapons
Reply With Quote #1

Is it possible to make this work with CS:GO? https://forums.alliedmods.net/showthread.php?t=97101
Or create a new plugin that removes every weapon that is on the floor? nades, zeus, guns, rifles...etc Everything.
__________________
Like my clean plugins and work?
Baws is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 04-05-2015 , 23:51   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #2

There's no reason (that I can see) that that shouldnt work....are you getting errors? Personally, i would use AcceptEntityInput(i, "Kill") rather than RemoveEdict(i), but that is preference. RemoveEdict, I believe is faster, but not as thorough? I cant remember. AcceptEntityInput(i, "Kill") included the RemoveEdict, I believe. Anyway...any errors?
__________________
ThatOneGuy is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 04-06-2015 , 15:36   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #3

I think it's working now, oh well. Anyways, thank you for trying to help me!
Btw, where you in the server? If so, I added you.
__________________
Like my clean plugins and work?
Baws is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-06-2015 , 16:26   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #4

Quote:
Originally Posted by ThatOneGuy View Post
There's no reason (that I can see) that that shouldnt work....are you getting errors? Personally, i would use AcceptEntityInput(i, "Kill") rather than RemoveEdict(i), but that is preference. RemoveEdict, I believe is faster, but not as thorough? I cant remember. AcceptEntityInput(i, "Kill") included the RemoveEdict, I believe. Anyway...any errors?
To expand upon that,

RemoveEdict bypasses any sort of cleanup that the entity does upon destruction which can lead to multiple issues. It also immediately removes the entity and edict rather than adding them to the cleanup list to be taken care of at the top of the next frame. Skipping the cleanup can cause various issues (or none) depending on the entity type, and both that and immediate removal can cause a crash.

Using the "Kill" input is the safer bet.

Last edited by psychonic; 04-06-2015 at 16:27.
psychonic is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 04-06-2015 , 19:51   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #5

AcceptEntityInput(i, "Kill")

Alright. I will do that if I see it's not that efficient. Thanks!
__________________
Like my clean plugins and work?
Baws is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 05-25-2015 , 14:01   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #6

Did you edit the Weapon Cleanup for CSGO ?
Would you share the plugin?
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Baws
Veteran Member
Join Date: Oct 2012
Old 05-25-2015 , 16:18   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #7

RemoveEdict(i) AcceptEntityInput(i, "Kill")
__________________
Like my clean plugins and work?
Baws is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 05-26-2015 , 09:24   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #8

Quote:
Originally Posted by Baws View Post
RemoveEdict(i) AcceptEntityInput(i, "Kill")
Thx! It works perfectly! You should get TechKnow to add this for CSGO support to the original plugin.
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
m_bNightstalker
Senior Member
Join Date: Jan 2015
Location: JWD
Old 05-26-2015 , 15:03   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #9

mp_death_drop_defuser 0
mp_death_drop_grenade 0
mp_death_drop_gun 0

this works too without a plugin
m_bNightstalker is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 05-26-2015 , 16:11   Re: [CS:GO] Remove Dropped Weapons
Reply With Quote #10

Quote:
Originally Posted by m_bNightstalker View Post
mp_death_drop_defuser 0
mp_death_drop_grenade 0
mp_death_drop_gun 0

this works too without a plugin
It's not a deathdrop. It's because on surf maps there's guns in the map and some people spam them so to remove the lag a plugin needs to remove them.
__________________
Like my clean plugins and work?
Baws is offline
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 03:11.


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