[SCRIPT] noaim

Intended for use on live public servers.
9 posts Page 1 of 1 First unread post
tobi9sc
Modder
Modder
Posts: 349
Joined: Sun Nov 25, 2012 12:32 am


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 234 times
Last edited by tobi9sc on Sun Apr 13, 2014 2:18 am, edited 2 times in total.
Dr.Morphman
Scripter
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
Modder
Posts: 349
Joined: Sun Nov 25, 2012 12:32 am


Dr.Morphman wrote:
dont forget to
return connection.on_secondary_fire_set(self, secondary)
:3
Thanks, script fixed! Added fixed attachment too.
Zekamalikyd
Modder
Modder
Posts: 4219
Joined: Mon Apr 01, 2013 3:40 pm


inb4 360 no scope only servers
Kuma
Scripter
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
Modder
Posts: 349
Joined: Sun Nov 25, 2012 12:32 am


Kuma wrote:
tobi9sc wrote:
return connection.on_secondary_fire_set(self, secondary):
that wont work, remove the ':'
Ty, fixed.
a girl
Scripter
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
3 Years of Ace of Spades
Posts: 1207
Joined: Wed Dec 19, 2012 12:17 am


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
Modder
Posts: 349
Joined: Sun Nov 25, 2012 12:32 am


drained mag + damage is a pain in the ass. Blue_Happy1
9 posts Page 1 of 1 First unread post
Return to “Completed Releases”

Who is online

Users browsing this forum: No registered users and 22 guests