Raised This Month: $32 Target: $400
 8% 

Weapon Cleanup


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TechKnow
Senior Member
Join Date: Nov 2007
Plugin ID:
1000
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Removes weapons when player dies
    Old 07-12-2009 , 14:39   Weapon Cleanup
    Reply With Quote #1

    Weapon Cleanup


    Curent Version: 1.2

    Description:
    This plugin I made by request, When a player dies it removes all weapons on the ground on the whole map. It also removes all loose weapons on round start. This is ment as a gungame addon without deathmatch.

    The core workings of this plugin was made by Kigen, Thank you again.

    Comands

    None

    CVar's:

    Removeweapons_on <1/0>, 1 on, 0 off , default on

    Changelog
    Version 1.0
    released

    Version 1.1
    Repaird cvar

    Version 1.2
    Added manual cleanup command.
    Requires slay flag
    sm_cleanup or in chat !cleanup

    Servers running this plugin:

    Will be updated later...
    Attached Files
    File Type: sp Get Plugin or Get Source (weaponcleanup.sp - 8333 views - 2.0 KB)
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php

    Last edited by TechKnow; 11-06-2010 at 14:36. Reason: update to version 1.2
    TechKnow is offline
    BDeep
    Senior Member
    Join Date: Jun 2009
    Location: NH
    Old 07-13-2009 , 07:51   Re: Weapon Cleanup
    Reply With Quote #2

    Thanks TechKnow, I owe you one.
    __________________
    BDeep is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 07-13-2009 , 17:34   Re: Weapon Cleanup
    Reply With Quote #3

    Public cvar is invalid. Please correct and will be approved.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    TechKnow
    Senior Member
    Join Date: Nov 2007
    Old 07-13-2009 , 18:28   Re: Weapon Cleanup
    Reply With Quote #4

    Please advise on the repair of the cvar, what is invalad? Show me how please.
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php
    TechKnow is offline
    NoS
    Senior Member
    Join Date: Nov 2006
    Old 06-12-2010 , 11:49   Re: Weapon Cleanup
    Reply With Quote #5

    You should add a timer, so after players die (5-10 seconds), weapons get removed, unless someone picks them up.
    NoS is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 11-06-2010 , 02:03   Re: Weapon Cleanup
    Reply With Quote #6

    I run a Surf RPG DM server and people here lately think its funny to sit there and spam the weapon dispensers on some of the maps because it lags the server and eventually will crash it.

    Will this remove those guns on any players death, or just the death of the person that laid down the 5,000 guns?
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    TechKnow
    Senior Member
    Join Date: Nov 2007
    Old 11-06-2010 , 02:16   Re: Weapon Cleanup
    Reply With Quote #7

    yes any player death will remove all weapons on the ground, I can even add a sm command to trip the cleanup as well if you want.

    EDIT: OK I added the manual cleanup command V1.2
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php

    Last edited by TechKnow; 11-06-2010 at 02:49.
    TechKnow is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 11-06-2010 , 03:47   Re: Weapon Cleanup
    Reply With Quote #8

    Im getting an error when trying to download.
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    TechKnow
    Senior Member
    Join Date: Nov 2007
    Old 11-06-2010 , 14:38   Re: Weapon Cleanup
    Reply With Quote #9

    Sorry, I repaired it. I made a BOO BOO.
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php
    TechKnow is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 11-06-2010 , 16:44   Re: Weapon Cleanup
    Reply With Quote #10

    Thank you!

    Adding it to the server now.

    Hopefully this takes care of it.
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    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 23:42.


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