Helbreath & Mas
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

[CODE] No puedes recallear al haber recibido un golpe

Ir abajo

[CODE] No puedes recallear al haber recibido un golpe Empty [CODE] No puedes recallear al haber recibido un golpe

Mensaje por MrKrhiz Lun Oct 17, 2011 10:57 pm

Buscar:

Código:
case DEF_MAGICTYPE_TELEPORT:
m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->GetOwner(&sOwnerH, &cOwnerType, dX, dY);
switch (m_pMagicConfigList[sType]->m_sValue4) {
case 1:
if ( (cOwnerType == DEF_OWNERTYPE_PLAYER) && (sOwnerH == iClientH) ) {
RequestTeleportHandler(iClientH, "1 ");
}
break;
}
break;

Y reemplazar por el siguiente caso:


Código:
case DEF_MAGICTYPE_TELEPORT:
m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->GetOwner(&sOwnerH, &cOwnerType, dX, dY);
switch (m_pMagicConfigList[sType]->m_sValue4) {
case 1:
if ( (cOwnerType == DEF_OWNERTYPE_PLAYER) && (sOwnerH == iClientH) ) {
if ((dwTime - m_pClientList[iClientH]->m_dwLogoutHackCheck) > 10000) {
RequestTeleportHandler(iClientH, "1 ");
}else{
char cCantRecall[256];
wsprintf(cCantRecall,"No puedes recallear luego de haber recibido daños.");
ShowClientMsg(iClientH, cCannotRecall);
goto MAGIC_NOEFFECT;
}
}
break;
}
break;
MrKrhiz
MrKrhiz
Hellbreath HellOfAngel
Hellbreath HellOfAngel

Mensajes : 29
Reputacion : 1
Fecha de inscripción : 17/10/2011

https://helbreathymas.activo.mx

Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.