Raised This Month: $32 Target: $400
 8% 

[Any] Strip Weapons from Player


Post New Thread Reply   
 
Thread Tools Display Modes
looter
New Member
Join Date: Jul 2011
Old 07-27-2015 , 13:40   Re: [Any] Strip Weapons from Player
Reply With Quote #11

Is there any way that you can make this come up in the admin menu?
looter is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-27-2015 , 21:41   Re: [Any] Strip Weapons from Player
Reply With Quote #12

Quote:
Originally Posted by looter View Post
Is there any way that you can make this come up in the admin menu?
Good idea, I'll try to add it this week.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Maliwolf
Member
Join Date: Jul 2015
Old 08-08-2015 , 01:24   Re: [Any] Strip Weapons from Player
Reply With Quote #13

May also be a good idea to have a way to make it permanent as in tf2, someone can just walk back in spawn and get their weapons back which defeats the purpose.
Maliwolf is offline
FrostSurf
Member
Join Date: Oct 2014
Old 08-08-2015 , 07:27   Re: [Any] Strip Weapons from Player
Reply With Quote #14

Could someone edit the plugin so its not just for admins and so everyone can use it? I tried adding the commands to admin_override.cfg but i just get the message "You cannot target this player." when i try to use it on me or anyone else in the server.
FrostSurf is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 08-08-2015 , 09:57   Re: [Any] Strip Weapons from Player
Reply With Quote #15

Quote:
Originally Posted by Maliwolf View Post
May also be a good idea to have a way to make it permanent as in tf2, someone can just walk back in spawn and get their weapons back which defeats the purpose.
This wasn't made with TF2 in mind. I'll consider it.

Quote:
Originally Posted by FrostSurf View Post
Could someone edit the plugin so its not just for admins and so everyone can use it? I tried adding the commands to admin_override.cfg but i just get the message "You cannot target this player." when i try to use it on me or anyone else in the server.
You want normal non-admin players to be able to target admin players ? Also the "You cannot target this player." is probably because of immunity; as for many commands, lower admins cannot target higher admins (i.e. to avoid kick, or the root admin being annoyed by another admin).
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 08-08-2015 at 11:24.
RedSword is offline
FrostSurf
Member
Join Date: Oct 2014
Old 08-08-2015 , 19:32   Re: [Any] Strip Weapons from Player
Reply With Quote #16

Quote:
Originally Posted by RedSword View Post
This wasn't made with TF2 in mind. I'll consider it.



You want normal non-admin players to be able to target admin players ? Also the "You cannot target this player." is probably because of immunity; as for many commands, lower admins cannot target higher admins (i.e. to avoid kick, or the root admin being annoyed by another admin).
Im using a 3rd party plugin to setup !disarm to access trigger sm_strip @me.

Im aware it sounds like a security flaw but im using it along side another plugin with custom commands so nobody will actually use sm_strip or even know about it. Im trying to make a ghetto style "Arm And Disarm" plugin and this is the best im gonna get because i dont code.

I get the You cannot target this player." when playing as a non admin targeting my self using this command in admin override and setting the flag to no flag.
FrostSurf is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 09-08-2015 , 03:33   Re: [Any] Strip Weapons from Player
Reply With Quote #17

Released 1.2.0 :
  • Added admin menu integration (under player commands).
  • Added a possibility to avoid handling immunity (see convar swfp_ignore_immunity).
  • Fixed swfp_log being incorrectly used in the code .
  • Translations must be redownloaded.

I don't plan on adding a specific handling for TF2 as requested by Maliwolf, as I'd have to handle almost all mods differently (I'd have to split the logic between TF2 @ post_inventory_application, and weapon_pickup in others, and possibly some other way in other mods. Gaining back weapons by those methods, while being handleable/codable, wasn't and still isn't intended to be handled by the plugin; it is only to remove current weapons; a plugin preventing to fire would be better suited for such an idea).

Red

p.s. sorry for the delay

EDIT : Added "Translations must be redownloaded."
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 09-11-2015 at 05:42. Reason: +translation note
RedSword is offline
misterG
Senior Member
Join Date: May 2015
Location: Romania
Old 09-18-2015 , 10:02   Re: [Any] Strip Weapons from Player
Reply With Quote #18

Maybe i ask for too much, but i just need a plugin that can remove 2-5 weapons on tf2. I have a dr server, so they have nowhere to go to get their weapons back, no need something special. Just removing it on round beggining. Can i contact you for that... ?
__________________
misterG is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 09-18-2015 , 12:49   Re: [Any] Strip Weapons from Player
Reply With Quote #19

You could try Full Cronjob Plugin + "sm_strip @all 2345".
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
misterG
Senior Member
Join Date: May 2015
Location: Romania
Old 09-18-2015 , 14:07   Re: [Any] Strip Weapons from Player
Reply With Quote #20

Quote:
Originally Posted by RedSword View Post
You could try Full Cronjob Plugin + "sm_strip @all 2345".
I haven't been clear...i don't want to block slots 2-5, i want to block some from the soldier, some for demoman, spy and engi...
__________________

Last edited by misterG; 09-18-2015 at 14:08.
misterG 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 23:47.


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