Intended for use on live public servers.
-
VladVP
Post Demon
-
- Posts: 1425
- Joined: Fri Dec 14, 2012 10:48 pm
- Location: chernobyl
Hey, I made a script for the upcoming ToW event, which basically disables all ranged weapons apart from the rifle.
Code: Select alldef 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
EDIT: Added a bunch of optimisations.
It's a Christmas miracle!
-
[HPC]sajt
Deuced Up
-
- Posts: 63
- Joined: Thu Jan 31, 2013 8:18 pm
- Location: Hungary
-
VladVP
Post Demon
-
- Posts: 1425
- Joined: Fri Dec 14, 2012 10:48 pm
- Location: chernobyl
No, I just hit my keyboard with the face and posted the result here for the lulz...
It's a Christmas miracle!
-
Kuma
Scripter
-
- Posts: 758
- Joined: Fri Mar 22, 2013 10:05 am
[HPC]sajt wrote:Good!-You created this?
He does have a scripter badge.
Also vlad, many scripts allow disabling these things why did you waste your time doing this.
-
VladVP
Post Demon
-
- Posts: 1425
- Joined: Fri Dec 14, 2012 10:48 pm
- Location: chernobyl
Kuma wrote:[HPC]sajt wrote:Good!-You created this?
He does have a scripter badge.
Also vlad, many scripts allow disabling these things why did you waste your time doing this.
Did you even read my post?
It's a Christmas miracle!
-
Kuma
Scripter
-
- Posts: 758
- Joined: Fri Mar 22, 2013 10:05 am
Yes, do you mean
Added a bunch of optimisations.
-
VladVP
Post Demon
-
- Posts: 1425
- Joined: Fri Dec 14, 2012 10:48 pm
- Location: chernobyl
VladVP wrote:for the upcoming ToW event
It's a Christmas miracle!
Users browsing this forum: No registered users and 14 guests