SA-MP Forums Archive
Necesito su Ayuda! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Necesito su Ayuda! (/showthread.php?tid=346489)



Necesito su Ayuda! - Don_pepe - 28.05.2012

Hola Amigos, Tengo un Servidor Samp, y es que se ha metido un bendito hacker a mi server a joder, aquн le dejo unas imagenes y un video para que capten lo que pasa:



http://www.youtube.com/watch?v=l0Q1h...ature=*********

Como ven es un Hacker de Score y de muertes, necesito saber si hay algun anti hack para esto, necesito su Ayuda por favor, estarй muy Agradecido!

Bueno Esto Es todo, Espero que me ayuden..

SALUDOS.


Respuesta: Necesito su Ayuda! - -[R]hysi- - 28.05.2012

Prueba con

pawn Код:
new PlayerShotPlayer[MAX_PLAYERS][MAX_PLAYERS];

public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
    PlayerShotPlayer[issuerid][playerid] = 1;
    return 0;
}

public OnPlayerDeath(playerid,killerid,reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        if(!PlayerShotPlayer[killerid][playerid])
        {
            Ban(playerid);
        }
    }
    foreach(Player,i)
    {
        PlayerShotPlayer[i][playerid] = 0;
    }
    return 1;
}
Lo de arriba estaba en el foro brazil.Si no funciona intenta usando el buscador.Esta lleno de anti fake kills.

Saludos


Respuesta: Necesito su Ayuda! - Don_pepe - 28.05.2012

Tira Dos errores:

Quote:

pwn(3593) : error 017: undefined symbol "foreach"
pwn(3595) : error 017: undefined symbol "i"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Espero que me ayudes, y muchisimas Gracias por contestar amigo!


Respuesta: Necesito su Ayuda! - -[R]hysi- - 28.05.2012

Me olvide que nesesitas el include foreach xD


https://sampforum.blast.hk/showthread.php?tid=92679


Respuesta: Necesito su Ayuda! - santi.arg - 28.05.2012

Problema en el cуdigo -> sin cуdigo -> no se puede solucionar