AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [REQ] Admin Knife with Abilities (https://forums.alliedmods.net/showthread.php?t=263654)

Stranged 05-30-2015 09:06

[REQ] Admin Knife with Abilities
 
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! :P

indraraj striker 05-30-2015 10:16

Re: [REQ] Admin Knife with Abilities
 
i think you want this
https://forums.alliedmods.net/showth...ighlight=knife

Stranged 05-30-2015 10:19

Re: [REQ] Admin Knife with Abilities
 
Quote:

Originally Posted by indraraj striker (Post 2302729)

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.

nnajko 05-30-2015 10:27

Re: [REQ] Admin Knife with Abilities
 
1 Attachment(s)
Here you go

Stranged 05-30-2015 10:31

Re: [REQ] Admin Knife with Abilities
 
Quote:

Originally Posted by nnajko (Post 2302732)
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?

nnajko 05-30-2015 10:44

Re: [REQ] Admin Knife with Abilities
 
1 Attachment(s)
Here

Niceone 05-30-2015 16:41

Re: [REQ] Admin Knife with Abilities
 
really amazing !

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

for example Press G To turn it on and off

nnajko 05-30-2015 17:32

Re: [REQ] Admin Knife with Abilities
 
1 Attachment(s)
Quote:

Originally Posted by Niceone (Post 2302855)
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-

Niceone 05-30-2015 18:18

Re: [REQ] Admin Knife with Abilities
 
Quote:

Originally Posted by nnajko (Post 2302880)
All weapons, press E to turn On/Off-

I pressed e Nothing happened lol

nnajko 05-30-2015 18:31

Re: [REQ] Admin Knife with Abilities
 
Quote:

Originally Posted by Niceone (Post 2302905)
I pressed e Nothing happened lol

Defaults to E, but whatever key you binded +use to.


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

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