[Script] Semi Master Race!
Posted: Sun Sep 29, 2013 6:48 pm
Hey, I made a script for the upcoming ToW event, which basically disables all ranged weapons apart from the rifle.
Code: Select all
EDIT: Added a bunch of optimisations.def apply_script(protocol,connection,config):
class semimrConnection(connection):
def spawn(self): self.weapon=0; return connection.spawn(self)
def on_weapon_set(self,weapon):
if weapon != 0: return False
return connection.on_weapon_set(self,weapon)
return protocol, semimrConnection