cs_deagle5 - Knife on bridge

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

cs_deagle5 - Knife on bridge

Post by greenie »

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.

.zip
Post Reply

Return to “General Purpose”