void CCommandManager::Init() // OK
{ // Here my code and I added this line:
this->Add("/check",COMMAND_CHECK);
//
void CCommandManager::CommandChecking(LPOBJ lpObj) // OK
{ if(gGameMaster.CheckGameMasterLevel(lpObj,gServerInfo.m_CommandHideGameMasterLevel) == 0)
{
gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,"You are not a GameMaster");
return;
}
gNotice.GCNoticeSend(lpObj->Index,1,0,0,0,0,0,"You have %d %% Critical Damage Rate",lpObj->CriticalDamageRate);
}