SA-MP Forums Archive
How i can to get through in SA folder for player who use CLEO? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How i can to get through in SA folder for player who use CLEO? (/showthread.php?tid=587776)



How i can to get through in SA folder for player who use CLEO? - Vaki - 02.09.2015

How i can to get through in SA folder for player who use CLEO? I like to kick player if someone folder in SA folder call CLEO but how i can do that , please help , tnx everyone and sorry for my bad English


Re: How i can to get through in SA folder for player who use CLEO? - SpikY_ - 02.09.2015

Quote:
Originally Posted by Excel™
Посмотреть сообщение
An old method of detecting sobiet, is through camera!

But you can always build a plug-in for anti cheat such like: https://sampforum.blast.hk/showthread.php?tid=268052
you can use anti-cheat, as far as i know you can't Detect if someone has cleo Folder/mods.


Re: How i can to get through in SA folder for player who use CLEO? - Variable™ - 02.09.2015

http://pastebin.com/AVrySvAH
This?

Callbacks
Код:
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;
}