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