AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Weapons CleanUp (Barrearmas) (https://forums.alliedmods.net/showthread.php?t=151770)

Franc1sco 02-27-2011 12:46

[CS:S] Weapons CleanUp (Barrearmas)
 
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

RedSword 03-08-2011 17:40

Re: [CS:S] Remove Weapons
 
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...

Franc1sco 03-09-2011 10:48

Re: [CS:S] Remove Weapons
 
Quote:

Originally Posted by RedSword (Post 1429998)
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

Franc1sco 03-09-2011 15:26

Re: [CS:S] Remove Weapons
 
1 Attachment(s)
OK, now my plugin is multi-lenguaje with Translation integration so new version :)

v1.1 - Translation integration

bandit 03-22-2011 14:50

Re: [CS:S] Weapons CleanUp (Barrearmas)
 
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.

Franc1sco 04-01-2011 13:13

Re: [CS:S] Weapons CleanUp (Barrearmas)
 
Quote:

Originally Posted by bandit (Post 1437736)
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.

bandit 04-01-2011 15:22

Re: [CS:S] Weapons CleanUp (Barrearmas)
 
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?

Molli 06-26-2011 07:49

Re: [CS:S] Weapons CleanUp (Barrearmas)
 
Can you add: bomb stay in ground forever?

Blacksilver 01-06-2013 15:35

Re: [CS:S] Weapons CleanUp (Barrearmas)
 
Only weapons or defuse kits too?

vodka00 01-07-2013 02:40

Re: [CS:S] Weapons CleanUp (Barrearmas)
 
PHP Code:

if ( ( StrContains(weapon"weapon_") != -|| StrContains(weapon"item_") != -) && GetEntDataEnt2(ig_WeaponParent) == -

Yes, I think it targets weapons and items.


All times are GMT -4. The time now is 10:05.

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