Raised This Month: $ Target: $400
 0% 

[TF2Items] Give Weapon (v3.14159, 11/29/2013)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-19-2011 , 04:20   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #11

Quote:
Originally Posted by DarthNinja View Post
sm_gimmie <item> :
PHP Code:
ServerCommand("sm_give #CLIENT \"ItemID\""
Have the menu do more or less the same thing (just pass the item id)
What I'm saying here, is just write a 2nd plugin that registers the command sm_gimmie with whatever your donor flag is.
Then have it run sm_give #<client> <item> via servercommand.

You can add a blacklist too if you want to block the more crazy weapons.

That's a 5 minute way to do it. If you want to get more involved, write in a menu that shows if the client runs sm_gimmie with no args and asks them to pick the item from a menu.
__________________
DarthNinja is offline
 



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 07:01.


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