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

[REQ] [HL2DM] (Per-)Map re-arm permission


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 02-21-2009 , 11:14   [REQ] [HL2DM] (Per-)Map re-arm permission
Reply With Quote #1

Game: HL2DM


The purpose: Allow any Player in select maps (the list of maps can be configured via a file. Alternatively you can enable the feature for all maps via a cvar) to re-arm (get ammo for weapons) regardless of sv_cheats with a Chat command or Console command (the commands can be customized via a file). If you have Mani Admin, the Plugin automatically looks up the name of the user and executes ma_give, adding ammo for all weapons he has. If you don't have Mani Admin, the Plugin executes impulse 101 on the Player or if executing it on the Player is impossible, it's executed on all Players.


{ Example commands
{ Chat
!rearm
!ammo
@rearm
@ammo
rearm
ammo
}

{ Console
impulse 101
}
}

Last edited by rautamiekka; 02-22-2009 at 14:14. Reason: Adding two ways of adding ammo: impulse 101 and Mani Admin's ma_give.
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
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 13:40.


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