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

Release CommandItems (1.0.1)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 04-10-2013 , 03:56   CommandItems (1.0.1)
Reply With Quote #1

CommandItems

Simple but powerful Store module that allows you to add items that can run various server commands.

Use the web panel to add command items. Open the web panel, navigate to Add New Item under the Items menu. In type, type commanditem. Change name, display_name, description and attrs to customize the new item.

Example of an attrs value for giving the TF2 weapon "The Buff Banner" using FlaminSarge's plugin:

Code:
{
    "command": "sm_giveweapon \"{clientName}\" 129",
    "teams": [2, 3]
}
Available parameters for the command property:
  • {clientName}
  • {clientTeam}
  • {clientAuth}
  • {clientUser}
Attached Files
File Type: smx store-commanditems.smx (11.1 KB, 2091 views)
File Type: sp Get Plugin or Get Source (store-commanditems.sp - 1485 views - 3.6 KB)
__________________

Last edited by alongub; 04-11-2013 at 14:24.
alongub is offline
 


Thread Tools
Display Modes

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


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