Raised This Month: $68 Target: $400
 17% 

[CS:S] Weapons CleanUp (Barrearmas)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
2252
Plugin Version:
v1.1
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    14 
    Plugin Description:
    Remove all weapons on the ground every X seconds (very configurable).
    Old 02-27-2011 , 12:46   [CS:S] Weapons CleanUp (Barrearmas)
    Reply With Quote #1

    Curent Version: v1.1

    Description:

    This plugin remove all weapons from the map every X seconds (configurable), useful for a bunny hop mod, deathmatch and mods where the weapons on the ground are not useful and prevents guns spam. Can also be adjusted so that only a admin command can remove the weapons.

    Command:

    sm_broom - Admin command for remove all weapons from the ground.

    sm_escoba - Comando de admin para remover todas las armas del suelo.

    CVar's:

    sm_barrearmas_repeticion <1/0> , 1 on, 0 off. Function: If set to 0 then it will disable the auto broom and will only be for admin command. Default: 1

    sm_barrearmas_msg_auto <1/0> , 1 on, 0 off. Function: If set to 1 is the activated every time a message is passed on the broom by the repeater. Default: 0

    sm_barrearmas_msg_cmd <1/0> , 1 on, 0 off. Function: If set to 1 is then activated every time a message is passed on the broom admin command. Default: 1

    sm_barrearmas_interval <10.0/20.0/30.0/40.0/∞> Function: Determines every X seconds to remove the weapons falls. Default: 30.0 (30 seconds)

    To install:

    Unzip in cstrike/

    Changelog

    Version 1.0
    code released
    Version 1.1
    Translation integration

    Credits:

    Based in the plugin Weapon Cleanup of TechKnow and enhanced with new features created for me ( Franc1sco Steam: franug )


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran SourceMod Coder -> Activity channel
    I dont accept more paid request, here why. If you want my private help then you could get it for free, just ask me on steam

    You like my work? Drop a +Rep in my steam profile comments


    Last edited by Franc1sco; 12-20-2015 at 08:14. Reason: file format changed to .zip
    Franc1sco is offline
    Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 03-08-2011 , 17:40   Re: [CS:S] Remove Weapons
    Reply With Quote #2

    There is a way to get a multi-lingual mono-plugin you know ?

    http://wiki.alliedmods.net/Translati...eMod_Scripting)

    I'm pretty sure you won't get approved if you make one version of your plugin per language...
    RedSword is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 03-09-2011 , 10:48   Re: [CS:S] Remove Weapons
    Reply With Quote #3

    Quote:
    Originally Posted by RedSword View Post
    There is a way to get a multi-lingual mono-plugin you know ?

    http://wiki.alliedmods.net/Translati...eMod_Scripting)

    I'm pretty sure you won't get approved if you make one version of your plugin per language...
    ok thanks, I'm working on it
    __________________
    Veteran SourceMod Coder -> Activity channel
    I dont accept more paid request, here why. If you want my private help then you could get it for free, just ask me on steam

    You like my work? Drop a +Rep in my steam profile comments


    Last edited by Franc1sco; 03-09-2011 at 10:51.
    Franc1sco is offline
    Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 03-09-2011 , 15:26   Re: [CS:S] Remove Weapons
    Reply With Quote #4

    OK, now my plugin is multi-lenguaje with Translation integration so new version

    v1.1 - Translation integration
    Attached Files
    File Type: 7z Weapons CleanUp (Barrearmas).7z (5.7 KB, 311 views)
    __________________
    Veteran SourceMod Coder -> Activity channel
    I dont accept more paid request, here why. If you want my private help then you could get it for free, just ask me on steam

    You like my work? Drop a +Rep in my steam profile comments


    Last edited by Franc1sco; 03-09-2011 at 15:29.
    Franc1sco is offline
    Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
    bandit
    Senior Member
    Join Date: Jul 2009
    Old 03-22-2011 , 14:50   Re: [CS:S] Weapons CleanUp (Barrearmas)
    Reply With Quote #5

    I really could use this, but players can still pickup weapons.
    Mainly because the weapons do not disappear.
    I have it set to2.0, and nothing happens, then I tried .5,, and 1.0
    Enemy is killed and the player gets their weapons by picking it up.
    bandit is offline
    Send a message via MSN to bandit
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 04-01-2011 , 13:13   Re: [CS:S] Weapons CleanUp (Barrearmas)
    Reply With Quote #6

    Quote:
    Originally Posted by bandit View Post
    I really could use this, but players can still pickup weapons.
    Mainly because the weapons do not disappear.
    I have it set to2.0, and nothing happens, then I tried .5,, and 1.0
    Enemy is killed and the player gets their weapons by picking it up.
    This plugin delete all weapons on the ground every X seconds, this not delete the guns when you drop your weapons.
    __________________
    Veteran SourceMod Coder -> Activity channel
    I dont accept more paid request, here why. If you want my private help then you could get it for free, just ask me on steam

    You like my work? Drop a +Rep in my steam profile comments

    Franc1sco is offline
    Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
    bandit
    Senior Member
    Join Date: Jul 2009
    Old 04-01-2011 , 15:22   Re: [CS:S] Weapons CleanUp (Barrearmas)
    Reply With Quote #7

    Can you set it up so when player is stripped of the weapon at spawn, and the weapon is dropped on the ground is can be deleted?
    bandit is offline
    Send a message via MSN to bandit
    Molli
    SourceMod Donor
    Join Date: Aug 2007
    Location: Finland
    Old 06-26-2011 , 07:49   Re: [CS:S] Weapons CleanUp (Barrearmas)
    Reply With Quote #8

    Can you add: bomb stay in ground forever?
    Molli is offline
    Blacksilver
    Member
    Join Date: Aug 2011
    Location: G E R M A N Y
    Old 01-06-2013 , 15:35   Re: [CS:S] Weapons CleanUp (Barrearmas)
    Reply With Quote #9

    Only weapons or defuse kits too?
    __________________
    Come to the dark side, we have cookies *muhaha*
    Visit us!

    Blacksilver is offline
    vodka00
    Veteran Member
    Join Date: Jun 2012
    Location: Los Angeles
    Old 01-07-2013 , 02:40   Re: [CS:S] Weapons CleanUp (Barrearmas)
    Reply With Quote #10

    PHP Code:
    if ( ( StrContains(weapon"weapon_") != -|| StrContains(weapon"item_") != -) && GetEntDataEnt2(ig_WeaponParent) == -
    Yes, I think it targets weapons and items.
    __________________
    cw main:

    cw speedruns:
    vodka00 is offline
    Reply


    Thread Tools
    Display Modes

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


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