DoD:S Admin Weapons v0.4 Updated 5/2/2011
2 Attachment(s)
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
5/2/2011 - v0.4
|
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
8/24/2008 - v0.2
|
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
OMG THIS IS AWESOME! I've been waiting for it for sooo long... You rock!
|
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Quote:
Thanks =) I made an adminmenu_custom.txt that adds these commands to a "Admin Weapon" category in the menu. |
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
can i use this for non admin player like in DoD Weapons Mod 2.0 http://www.dodplugins.net/forums/showthread.php?t=699 and if so how?
|
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
sm_weapons "Name" Lets them choose.
If you want it so everyone can use the sm_weapon command, remove the "ADMFLAG_CUSTOM6" part of each command you want them to have in OnPluginStart() |
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
1 Attachment(s)
for puplic use with mod i use this key for non-admin
bind ] "sm_weapon" Almost like DoD Weapons Mod 2.0 http://www.dodplugins.net/forums/showthread.php?t=699 Soo close |
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Great plugin. I got the menu to work but when i choose a weapon nothing happens. Any reason??
|
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
Any errors in the logs?
|
Re: DoD:S Admin Weapons v0.2 Updated 8/24/2008
only thing i noticed was this in console when i try to remove a weapon
09/03/2008 - 16:05:36: [SM] Native "GetPlayerWeaponSlot" reported: "Weapon_GetSlot" not supported by this mod L 09/03/2008 - 16:05:36: [SM] Debug mode is not enabled for "dod_adminweapon.smx" L 09/03/2008 - 16:05:36: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 5 on does this mean my sourcemod version is to old? |
All times are GMT -4. The time now is 12:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.