Nigga |
Wysłany: Wto 14:17, 18 Mar 2008 Temat postu: [CODE] /criticals |
|
Criticals
Ta komenda daje 30 Criticali za 3 majestic points
Game.cpp Znajdz
Kod: |
؟ if (memcmp(cp, "/summonall ", 11) == 0) {
AdminOrder_SummonAll(iClientH, cp, dwMsgSize - 21);
return; }
Ni؟ej dodaj
if (memcmp(cp, "/criticals",10) == 0) {
PlayerOrder_GetCrits(iClientH);
return
; } |
Na samym koٌcu dodaj
Kod: |
void CGame::PlayerOrder_GetCrits(int iClientH) {
{
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 3) {
m_pClientList[iClientH]->m_iSuperAttackLeft += 30;
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft -= 3;
}
}
} |
w Game.h
Kod: |
void PlayerOrder_GetCrits(int iClientH); |
|
|