Hardstyle 3
only have red spawns and are thus unusable.if (pCom && pCom->m_pfnCallback)
{
CommandManager()->OnCommand(pMsg->m_Name, pMsg->m_Arguments, ClientID);
}
else
{
char aBuf[128];
str_format(aBuf, sizeof(aBuf), "/%s %s", pMsg->m_Name, pMsg->m_Arguments);
ExecuteChatCommand(aBuf, ClientID);
}
pManager->AddCommand("credits", "Shows the credits of the F-DDrace mod", "", 0, this);
the callback is just 0 in this case, so that we can call the ExecuteChatCommand functionif (pmsg->m_pmessage[0] == /)
)