[SM] [CS:S]Player Spawn Weapon Remover

All the stuff wich is under discussion or has no (proper/working) code published or is not having a active developement

Moderator: STS Developers

Forum rules
All the stuff wich is under discussion or has no (proper/working) code published or is not having a active developement

[SM] [CS:S]Player Spawn Weapon Remover

Postby MadMakz » 04 Jan 2010 00:57

Player Spawn Weapon Remover
Version / Changelog

About:
Removes specified weapon(s) from player after player_spawn event if he survived / respawned with a spawn restricted weapon.
This is NO replace of the usual weapon restrictions plugin wich prevent carreing a weapon a whole round/map!

Usage:
psw_remover_enabled 0/1 - Enable/Disable plugin. Default: 1. Note: Alternatively you can disable it alo by setting "psw_remover_weapons" to "".
psw_remover_weapons - List of weapon entities to be removed from client. Multiple objects seperated by " " (space). default: "" (disabled)

Example config:
psw_remover_enabled 1 // Enables the plugin
psw_remover_weapons "weapon_deagle weapon_awp" // Removes Deagle and AWP from player after he´s spawned.

Download:
Archive: filebase.sourcepowered.net
Tracker: http://code.squadtag.com/projects/show/sm--psw-remover

Note: This plugin has been only tested for CS:S and is therefor limited to it! You can freely unlock it for other games by editing the code by your own.
Also, this plugin will NOT prevent players from buying the weapon again. BOT's are NOT ignored also. I might add those 2 features in a later version.
User avatar
MadMakz
Administrator
Administrator
 
Posts: 112
Joined: 30 Jul 2009 18:26

Re: (STS) [CS:S]Player Spawn Weapon Remover

Postby MadMakz » 07 Jan 2010 16:37

Updated to v1.1.1.
User avatar
MadMakz
Administrator
Administrator
 
Posts: 112
Joined: 30 Jul 2009 18:26


Return to Pending Stuff / Brainstorm / Snippets

Who is online

Users browsing this forum: No registered users and 1 guest

cron