[Ajuda] Anti-Xiter
#1

Bem, procurei na net algum cуdigo para anti-xiter mais nгo achei um bom e a maioria nгo era funcional.

Tem como alguem postar um cуdigo anti-xiter aк pra eu por no meu gamemode, sem ser zcmd e sim strcmd.

Obrigado a todos.
Reply
#2

Ninguem responde alguma coisa.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=266792
http://pastebin.com/irJP176Y
Reply
#4

Aproveitando o tуpico,a Include vocк coloca na pasta do pawno,e para utilizar ele da para ser por um FS nй?
pawn Код:
#include <a_samp>

#define FC_FILE_VERSION                         "0.3.5" // Added the FC_

#define CLEO_FAKEKILL                           ( 1 )
#define CLEO_CARWARP                            ( 2 )
#define CLEO_PLAYERBUGGER                       ( 3 ) // This number will never be called from OnPlayerCleoDetected
#define CLEO_CARSWING                           ( 4 )
#define CLEO_CAR_PARTICLE_SPAM          ( 5 )

public OnPlayerCleoDetected( playerid, cleoid )
{
    switch( cleoid )
    {
        case CLEO_FAKEKILL:
        {
            SendClientMessage( playerid, -1, "You are fake killing." );
            BanEx( playerid, "Fake kill" );
        }
        case CLEO_CARWARP:
        {
            SendClientMessage( playerid, -1, "You are car warping." );
            BanEx( playerid, "Car Warp" );
        }
        case CLEO_CARSWING:
        {
            SendClientMessage( playerid, -1, "You are car swinging" );
            BanEx( playerid, "Car Swing" );
        }
        case CLEO_CAR_PARTICLE_SPAM:
        {
            SendClientMessage( playerid, -1, "You are partical spamming" );
            BanEx( playerid, "Car Particle Spam" );
        }
    }
    return 1;
}
Aviso:
pawn Код:
warning: 235: public function lacks forward declaration (symbol "OnPlayerCleoDetected")
Reply
#5

pawn Код:
forward OnPlayerCleoDetected( playerid, cleoid );
Reply
#6

Agora funcionou perfeitamente,obrigado cara.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)