Raised This Month: $ Target: $400
 0% 

[HELP] SM Command in SM Command?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Trippp
Member
Join Date: Jul 2015
Old 01-30-2016 , 04:59   [HELP] SM Command in SM Command?
Reply With Quote #1

Hello everyone,

Trippp here, im kinda new to coding so apologies for the noob questions.
I'm trying to code some SM Commands in a new SM Command.
I tried searching on how to do this unfortunately I couldn't find it anywhere.
Things I'd like in my !reload command:
sm plugins unload_all
sm plugins refresh
sm_reloadadmins

The code i already have.
Code:
#include <sourcemod>

public void OnPluginStart()
{
    RegAdminCmd("sm_ezreload", Command_EZReload, ADMFLAG_ROOT);
}

public Action Command_EZReload(int client,int args)
{
        PrintToChatAll("Reloading Plugin!")
        return Plugin_Handled;
}
If this is a noob question, I'm sorry, I'm new to coding.

Regards,

TripppW0W
Trippp 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 09:21.


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