Next Administrador
Cantidad de envíos : 117 Edad : 33 Fecha de inscripción : 08/01/2008
| Tema: [COMANDO] /getrep Jue 07 Feb 2008, 05:38 | |
| Este code te da 10 de rep por 1 majestics (lo podes modificar) en game.cpp del HG buscar /who y agregar abajo: - Código:
-
if (memcmp(cp, "/getrep",7) == 0) { PlayerOrder_GetRep(iClientH); return; } al final del game.cpp agregar esto: - Código:
-
void CGame::PlayerOrder_GetRep(int iClientH) { { if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 1) { m_pClientList[iClientH]->m_iRating += 10; m_pClientList[iClientH]->m_iGizonItemUpgradeLeft -= 1; } } } (ahi modifican cuanta rep y cuantos mps) y en game.h agregar: - Código:
-
void PlayerOrder_GetRep(int iClientH); Code By Kiruku. | |
|