
Originally Posted by
Jareksniper
Something for all :) Just add it by yourself :P
[PKCLEAR COMMAND SOURCE]
//========================================================================================================================
// ClearPK Command
//========================================================================================================================
void ClearPK (DWORD gObjId, char *Msg)
{
//--------------------------------------------------------------------------------------------------------------------
OBJECTSTRUCT * gObj = (OBJECTSTRUCT*)OBJECT_POINTER(gObjId);
//--------------------------------------------------------------------------------------------------------------------
if (gObj->m_PK_Level <=3)
{
MsgNormal(gObjId,"[PkClear] %s is not pk!", gObj->Name);
return;
}
if(gObj->Money<=150000000)
{
MsgNormal(gObjId,"[PkClear] %s need more zen to clear pk!", gObj->Name);
return;
}
gObj->m_PK_Level = 3;
gObj->m_PK_Count = 0;
gObj->Money-=150000000;
GCPkLevelSend (gObjId,gObj_GetPKStatus(gObjId));
MsgNormal(gObjId,"[PkClear] Pk status has been sucessfully cleared.");
}
exe + acc is very easy to fix..
Just use old source and add 1 line of code ^^
I can give you it on PW .