
Originally Posted by
myheart
buff effect 18
Can post code
Edit:
trying to set gObjApplyBuffEffectDuration function..
Code:
#ifdef GM_SYSTEM
if(!g_GMConfig.CheckIsGM(lpObj->Name,2)) {
GCServerMsgStringSend("Command only For GameMasters", lpObj->m_Index, 1);
return;
}
#endif
if(lpObj->Authority == 2) {
MsgOutput(lpObj->m_Index,"[View] You're in Invisible MODE");
} else {
lpObj->Authority = 2;
gObjViewportListProtocolDestroy(lpObj);
gObjApplyBuffEffectDuration(lpObj, AT_INVISIBILITY, 0, 0, 0, 0, -10);
GCServerMsgStringSend("[View] You're Invisible Now!",lpObj->m_Index,1);
}
}
it ain't really work, any other suggestions? 
@nevS @myheart