View Single Post
Plugin Info:     Modification:          Category:          Approver:   EKS (166)
xx_sirhc_xx
Member
Join Date: Jul 2005
Old 08-10-2005 , 04:24   cs_deagle5 - Knife on bridge
Reply With Quote #1

Description:
This plugin is for use with the map cs_deagle5. What it does is makes it knife only for anyone who is on the bridge. If you're on the bridge, you can't be shot and you can't shoot anyone else. cs_deagle5 isn't my favorite map, but it comes on in our server from time to time and people always want "knife only on the bridge" but nobody obeys. So I thought I would go ahead and make a plugin to force it.

Commands:
amx_deagle5_knife <0|1> - Use 0 to disable it, 1 to enable it.

Cvars:
amx_deagle5knife <0|1> - Use the Command above. It changes the cvar for you. I only added the cvar so that it would remember if you had it enabled/disabled when the map changes.

Modules Required:
Engine
Fun

Credit:
Not much credit to give out here. Thanks to v3x for pointing me to the set_user_hitzones function. That's about it.
Attached Files
File Type: sma Get Plugin or Get Source (amx_deagle5_knife.sma - 6704 views - 3.6 KB)
File Type: zip cs_deagle5.zip (123.4 KB, 3509 views)
xx_sirhc_xx is offline