else if(!IS_PLAYER(self)) { sprint(self, "You can't spawn monsters while spectating.\n"); }
else if not(autocvar_g_monsters) { Send_Notification(NOTIF_ONE, self, MSG_INFO, INFO_MONSTERS_DISABLED); }
else if(self.vehicle) { sprint(self, "You can't spawn monsters while driving a vehicle.\n"); }
+ else if(autocvar_g_campaign) { sprint(self, "You can't spawn monsters in campaign mode.\n"); }
else if(g_td) { sprint(self, "You can't spawn monsters in Tower Defense mode.\n"); }
else if(self.deadflag) { sprint(self, "You can't spawn monsters while dead.\n"); }
else if(self.monstercount >= autocvar_g_monsters_max_perplayer) { sprint(self, "You have spawned too many monsters, kill some before trying to spawn any more.\n"); }
case CMD_REQUEST_COMMAND:
{
if(g_td) { print("This command doesn't work in Tower Defense.\n"); return; }
+ if(autocvar_g_campaign) { print("This command doesn't work in campaign mode.\n"); return; }
float removed_count = 0;
entity montokill, head;