Page 1 of 1

AWP Armory To Scout

Posted: Sun Nov 21, 2021 11:55 pm
by greenie
This plugin shores up a common hole in the other AWP restriction scripts. On maps like fy_iceworld, which have an AWP lying on the ground, it converts these AWPs to Scouts.
/*
* This plugin converts AWP armoury_entities into Scout armoury_entities.
*
* Changelog
* 1.2 Fixed an errant set_task, thanks VEN
* 1.1 Added ML support
* 1.0 Now changes the model when the AWP is still on the ground
* 0.9 Added DEBUG compile directives and messages
* 0.1 Original code version. Will not work on 1.70 Linux unless a slight
* change is made in cstrike.h and then cstrike_amx_i386.soo is
* recompiled.
* See http://www.amxmodx.org/forums/viewtopic.php?t=27323
*/

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>
Place eawp2scout.txt in you data/lang directory.

What it does:
Converts AWPs that spawn on the map into Scouts

What is does not do:
Prevent you from buying an awp
Make you drop the awp
Change an awp that you buy into a scout

I run a no awp server, and by combining this very simple plugin with the standard weapons restriction, I can completely eliminate the awp without any need for the more complex plugins that are available.

get plugin
get source