This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

// Please Delete posted in wrong section bymistake


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
netstorm
Junior Member
Join Date: Jun 2014
Old 06-13-2014 , 16:41   // Please Delete posted in wrong section bymistake
Reply With Quote #1

I am a server owner and i need a plugin that can allow me to provide mumble details when a client types !mumble.
therefore this can be achieved by 2 ways.. when user types !mumble. simply the mumble details are displayed on chat.
the second way is to display info on a menu.

i found that first way is easier and tried making something

PHP Code:
#include <sourcemod>
 
public Plugin:myinfo =
{
    
name "mumble details",
    
author "Amphetamine",
    
description "provides mumble info",
    
version "1.0",
    
url "http://www.sourcemod.net/"
};

public 
OnPluginStart()
{
RegConsoleCmd("sm_mumble",Command_mumble,"display mumble info")
PrintToServer("Hello world!");//just for testing
}

public 
Action:Command_mumble(client,args)
    {
    
PrintToConsole(client"mumble details goes here")
    } 
technically this compiled but i am not a hardcore programmer and need help completing it.

Last edited by netstorm; 06-13-2014 at 16:49.
netstorm is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-13-2014 , 16:46   Re: Little help with custom command
Reply With Quote #2

This is the AmxModX section, go post in Sourcemod. Or someone can move it.
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
netstorm
Junior Member
Join Date: Jun 2014
Old 06-13-2014 , 16:50   Re: // Please Delete posted in wrong section bymistake
Reply With Quote #3

sorry i just noticed... it was an honest mistake
netstorm 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 17:41.


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