Intended for use on live public servers.
-
tobi9sc
Modder
-
- Posts: 349
- Joined: Sun Nov 25, 2012 12:32 am
- Location: Philippines
It's me tobi9sc and here is my first simple script. Woot!
So this script "noaim" doesn't disable you to aim nor use secondary fire but instead you take damage! The damage is set to 5 but since you need to press right-click again to disable aim, you get a total of 10 damage. Avoid using ironsight and use your noscope skills!
Code: Select all"""
noaim script by tobi9sc
"""
def apply_script(protocol,connection,config):
class noaimConnection(connection):
def on_secondary_fire_set(self, secondary):
if self.hp>=10:
self.hit(5)
self.send_chat("Avoid using ironsight!")
return connection.on_secondary_fire_set(self, secondary)
return protocol, noaimConnection
Enjoy :>
Attachments
noaim.py
put in script folder
(383 Bytes) Downloaded 239 times
Last edited by
tobi9sc on Sun Apr 13, 2014 2:18 am, edited 2 times in total.
-
Dr.Morphman
Scripter
-
- Posts: 73
- Joined: Sun Feb 24, 2013 9:55 am
dont forget to
return connection.on_secondary_fire_set(self, secondary)
:3
-
tobi9sc
Modder
-
- Posts: 349
- Joined: Sun Nov 25, 2012 12:32 am
- Location: Philippines
Dr.Morphman wrote:dont forget to
return connection.on_secondary_fire_set(self, secondary)
:3
Thanks, script fixed! Added fixed attachment too.
-
Zekamalikyd
Modder
-
- Posts: 4219
- Joined: Mon Apr 01, 2013 3:40 pm
- Location: up yer bum hol
inb4 360 no scope only servers
<podbiel> zeka did nothing wrong
Shia LaBeouf wrote:hahaha i fucking love dick holy shit stuff it in every hole of mine
-
Kuma
Scripter
-
- Posts: 758
- Joined: Fri Mar 22, 2013 10:05 am
tobi9sc wrote:
return connection.on_secondary_fire_set(self, secondary):
that wont work, remove the ':'
-
tobi9sc
Modder
-
- Posts: 349
- Joined: Sun Nov 25, 2012 12:32 am
- Location: Philippines
Kuma wrote:tobi9sc wrote:
return connection.on_secondary_fire_set(self, secondary):
that wont work, remove the ':'
Ty, fixed.
-
a girl
Scripter
-
- Posts: 85
- Joined: Thu Nov 15, 2012 6:32 am
Rainbowdash made a script that would drain your magazine if you zoomed in... you'd then have to unzoom, then reload before you could fire... it was effective at breaking habits LOL
-
Ballistic
3 Years of Ace of Spades
-
- Posts: 1207
- Joined: Wed Dec 19, 2012 12:17 am
- Location: Germany (GMT +1)
a girl wrote:Rainbowdash made a script that would drain your magazine if you zoomed in... you'd then have to unzoom, then reload before you could fire... it was effective at breaking habits LOL
I think Morph has that script, I remember him activating it in one of the Homo servers back then...
-
tobi9sc
Modder
-
- Posts: 349
- Joined: Sun Nov 25, 2012 12:32 am
- Location: Philippines
drained mag + damage is a pain in the ass.
Users browsing this forum: No registered users and 25 guests