Raised This Month: $ Target: $400
 0% 

[REQ] Admin Knife with Abilities


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stranged
Junior Member
Join Date: May 2015
Old 05-30-2015 , 09:06   [REQ] Admin Knife with Abilities
Reply With Quote #1

Hello Scripters!
I've been looking for a script for one week now, but still can't find it, so I might need some help.
The plugin should do:
If the user has ADMIN_RCON and he is holding the knife in the moment, the knife should give him:
No Footsteps noises
Running faster - controlled by a cvar - default value "400"
Lower Gravity - Jumping higher - default value "0.5"
Full Invisibility - No matter if you're up/crouching/walking
---------
And if you switch back to other weapon, the abilities should go off, and if you switch back to knife, the abilities should go on again.
---------
It's really simple plugin, but I'm new to scripting so it would be pleasure to see some good scripting and get to learn some. So if possible try to put - // Description on most of the things that are important in the plugin for example the functions.
---------
Thanks in advance!
Stranged is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 05-30-2015 , 10:16   Re: [REQ] Admin Knife with Abilities
Reply With Quote #2

i think you want this
https://forums.alliedmods.net/showth...ighlight=knife
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Stranged
Junior Member
Join Date: May 2015
Old 05-30-2015 , 10:19   Re: [REQ] Admin Knife with Abilities
Reply With Quote #3

Quote:
Originally Posted by indraraj striker View Post
This is good, but I need simplified version of it, like this one that I showed in my first post, it's easy to make for somebody who has by far normal education in pawn, so if someone can make this plugin and give me it here, I will be so thankful.
Stranged is offline
nnajko
Senior Member
Join Date: May 2009
Location: Sweden
Old 05-30-2015 , 10:27   Re: [REQ] Admin Knife with Abilities
Reply With Quote #4

Here you go
Attached Files
File Type: sma Get Plugin or Get Source (adminknife.sma - 511 views - 1.5 KB)

Last edited by nnajko; 05-30-2015 at 10:28.
nnajko is offline
Stranged
Junior Member
Join Date: May 2015
Old 05-30-2015 , 10:31   Re: [REQ] Admin Knife with Abilities
Reply With Quote #5

Quote:
Originally Posted by nnajko View Post
Here you go
Thank you so much, by the way can you add heal task with cvar, so the admin gets healed every second with hp controlled by the cvar?
Stranged is offline
nnajko
Senior Member
Join Date: May 2009
Location: Sweden
Old 05-30-2015 , 10:44   Re: [REQ] Admin Knife with Abilities
Reply With Quote #6

Here
Attached Files
File Type: sma Get Plugin or Get Source (adminknife.sma - 510 views - 2.4 KB)

Last edited by nnajko; 05-30-2015 at 11:03.
nnajko is offline
Niceone
Junior Member
Join Date: Apr 2015
Old 05-30-2015 , 16:41   Re: [REQ] Admin Knife with Abilities
Reply With Quote #7

really amazing !

can you make it work with all weapons but by button ?

for example Press G To turn it on and off

Last edited by Niceone; 05-30-2015 at 17:08.
Niceone is offline
Old 05-30-2015, 17:16
nnajko
This message has been deleted by nnajko.
nnajko
Senior Member
Join Date: May 2009
Location: Sweden
Old 05-30-2015 , 17:32   Re: [REQ] Admin Knife with Abilities
Reply With Quote #8

Quote:
Originally Posted by Niceone View Post
really amazing !

can you make it work with all weapons but by button ?

for example Press G To turn it on and off
All weapons, press E to turn On/Off-
Attached Files
File Type: sma Get Plugin or Get Source (adminknif.sma - 503 views - 3.2 KB)

Last edited by nnajko; 05-30-2015 at 17:51. Reason: Explanation
nnajko is offline
Niceone
Junior Member
Join Date: Apr 2015
Old 05-30-2015 , 18:18   Re: [REQ] Admin Knife with Abilities
Reply With Quote #9

Quote:
Originally Posted by nnajko View Post
All weapons, press E to turn On/Off-
I pressed e Nothing happened lol
Niceone is offline
nnajko
Senior Member
Join Date: May 2009
Location: Sweden
Old 05-30-2015 , 18:31   Re: [REQ] Admin Knife with Abilities
Reply With Quote #10

Quote:
Originally Posted by Niceone View Post
I pressed e Nothing happened lol
Defaults to E, but whatever key you binded +use to.
nnajko is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode