[Ajuda] Anti-Xiter - 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: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Anti-Xiter (
/showthread.php?tid=363897)
Anti-Xiter -
Gabriel Santana - 29.07.2012
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.
Re: Anti-Xiter -
Gabriel Santana - 29.07.2012
Ninguem responde alguma coisa.
Re: Anti-Xiter -
WaGnerLiima - 29.07.2012
https://sampforum.blast.hk/showthread.php?tid=266792
http://pastebin.com/irJP176Y
Re: Anti-Xiter -
Gabriel10101 - 29.07.2012
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")
Re: Anti-Xiter -
.FuneraL. - 29.07.2012
pawn Код:
forward OnPlayerCleoDetected( playerid, cleoid );
Re: Anti-Xiter -
Gabriel10101 - 29.07.2012
Agora funcionou perfeitamente,obrigado cara.