+#include "spawning.qh"
+#include "../_all.qh"
+
+#include "weaponsystem.qh"
+#include "../mutators/mutators_include.qh"
+#include "../t_items.qh"
+#include "../../common/weapons/all.qh"
+
string W_Apply_Weaponreplace(string in)
{
float n = tokenize_console(in);
{
replacement = "";
s = argv(i);
-
+
for(j = WEP_FIRST; j <= WEP_LAST; ++j)
{
e = get_weaponinfo(j);
string s;
entity oldself;
float i, j;
- float f;
+ int f;
if(self.classname != "droppedweapon" && self.classname != "replacedweapon")
{
}
s = W_Apply_Weaponreplace(e.netname);
- ret_string = s;
- other = e;
- MUTATOR_CALLHOOK(SetWeaponreplace);
+ MUTATOR_CALLHOOK(SetWeaponreplace, self, e, s);
s = ret_string;
if(s == "")
{