Raised This Month: $51 Target: $400
 12% 

DoD:S Admin Weapons v0.4 Updated 5/2/2011


Post New Thread Reply   
 
Thread Tools Display Modes
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 09-03-2008 , 18:40   Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Reply With Quote #11

Running DoD:S?

What version of SourceMod are you using?

DoD:S works best with the 1.1.0 snapshots.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
monkie
Senior Member
Join Date: Oct 2006
Location: Shanghai, China
Old 10-27-2008 , 07:50   Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Reply With Quote #12

Request:

could u make the menu automatically integrated into sourcemod admin menu and make the interface multi-lingual?
__________________
monkie is offline
Send a message via MSN to monkie Send a message via Skype™ to monkie
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 10-27-2008 , 07:59   Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Reply With Quote #13

Yea, i can do that.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 11-01-2008 , 08:35   Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Reply With Quote #14

11/1/2008 - v0.3
  • Added translations.
  • Added commands to admin menu by default.
  • Fixed a bug when removing weapons that could cause server crashes after a while.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
cobra157
New Member
Join Date: Sep 2008
Old 11-01-2008 , 13:26   Re: DoD:S Admin Weapons v0.3 Updated 11/1/2008
Reply With Quote #15

Quote:
Originally Posted by Lebson506th View Post
DoD:S Admin Weapons
by Lebson506th

Description

This plugin was inspired by a plugin I saw for DoD:S a long time ago. Don't remember what it was called or who it was by, and I couldn't find it. So I made this one.

This plugin allows admins with the "t" (ADMFLAG_CUSTOM6) flag to get any weapon in the game. Automatically gives full ammo for the weapon selected including rifle grenades for the Garand and K98.

This plugin also allows admins to give any weapon to any player, or let any player decide which weapon they want. It also allows admin to remove 1 or all of any player's weapons.

The only limitation right now is that the user can only get 1 of each thrown grenade at a time. However, because it is possible to get the grenades of the other team as well, you can get a total of 2 of each. (IE, US and German frag grenade = 2 frag grenades total)

Commands

sm_weapon - Brings up the menu that allows admin to get any weapon.
sm_weapon "Name" - Brings up the menu on the named client's side that allows them to choose the weapon they want.
sm_giveweapon "Name" - Brings up the menu that allows admin to choose which weapon to give a player.
sm_removeweapons "Name" - Removes all weapons from a given player.
sm_removeweapon "Name" <slot# (0-3)> - Removes a weapon from the given slot from a given player.

Special Thanks
  • DJ Tsunami for helping me fix a few issues while I was developing this in the IRC channel.
  • monkie for suggesting the translation and menu integration and beta testing the plugin for me.
  • FeuerSturm for showing me the RemoveEdict bug.
Installation Instructions
  1. Copy dod_adminweapon.smx to addons/sourcemod/plugins
  2. Copy adminweapon.phrases.txt to addons/sourcemod/translations
  3. Using RCON, do "sm plugins load dod_adminweapon"
Change Log

11/1/2008 - v0.3
  • Added translations.
  • Added commands to admin menu by default.
  • Fixed a bug when removing weapons that could cause server crashes after a while.
8/24/2008 - v0.2
  • Added sm_giveweapon "Name" that lets an admin choose what weapon to give to a player.
  • Added sm_weapon "Name" that opens the weapon menu on the given player so they can choose.
  • Added sm_removeweapons "Name" that removes all the weapons of a given player.
  • Added sm_removeweapon "Name" <slot# (0-3)> that removes the weapon in the given slot of the given player.
8/24/2008 - v0.1
  • Initial release
Hi, can you help me? I'm not sure what you mean by

3. Using RCON, do "sm plugins load dod_adminweapon"

I put the above line in the rconlist.txt , was that the wrong place to put it? If so, where should I enter "sm plugins load dod_adminweapon"
cobra157 is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 11-01-2008 , 13:27   Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Reply With Quote #16

You can use HLSW (www.hlsw.org) for remote console actions.
FeuerSturm is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 11-01-2008 , 14:15   Re: DoD:S Admin Weapons v0.3 Updated 11/1/2008
Reply With Quote #17

Alternatively, you could just restart the server or change the map. That has the same effect =)
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
monkie
Senior Member
Join Date: Oct 2006
Location: Shanghai, China
Old 11-01-2008 , 20:42   Re: DoD:S Admin Weapons v0.3 Updated 11/1/2008
Reply With Quote #18

thank you so much for the update

here is the Chinese Simplified translation file
Attached Files
File Type: zip adminweapon.phrases.zip (849 Bytes, 203 views)
__________________
monkie is offline
Send a message via MSN to monkie Send a message via Skype™ to monkie
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 11-01-2008 , 20:58   Re: DoD:S Admin Weapons v0.3 Updated 11/1/2008
Reply With Quote #19

Quote:
Originally Posted by monkie View Post
thank you so much for the update

here is the Chinese Simplified translation file
Thanks very much
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
cobra157
New Member
Join Date: Sep 2008
Old 11-02-2008 , 22:08   Re: DoD:S Admin Weapons v0.3 Updated 11/1/2008
Reply With Quote #20

Hi, can you help me? I'm not sure what you mean by

3. Using RCON, do "sm plugins load dod_adminweapon"

I put the above line in the rconlist.txt , was that the wrong place to put it? If so, where should I enter "sm plugins load dod_adminweapon"
cobra157 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 09:10.


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