Hey, can someone help me correct this
PHP Code:
#include <sourcemod>
public void OnPluginStart()
{
RegConsoleCmd("sm_code", Command_Test);
}
public Action Command_Test(int client, int args)
{
char sBuffer[512];
Format(sBuffer, sizeof(sBuffer), "%s\n ", sBuffer);
Event eEvent = CreateEvent("cs_win_panel_round", true);
eEvent.SetString("funfact_token", "<b><font color='#ffa500' class='fontSize-xl'>TEXT</font></b> %s\n TEXT TEXT", sBuffer);
eEvent.SetInt("hint_timeout", 10);
eEvent.SetInt("userid", -1);
eEvent.FireToClient(client);
eEvent.Cancel();
}
HTML Code:
error 092: number of arguments does not match definition