How to block cleo mod on server
#5

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
You're supposed to put this code in your script while using fuckcleo.inc

pawn Код:
public OnPlayerCleoDetected( playerid, cleoid )
{
    switch( cleoid )
    {
        case CLEO_FAKEKILL:
        {
            CleoDetected[playerid]++;
            if(CleoDetected[playerid] == 1) {
            SendClientMessage( playerid, -1, "You are fake killing." );
            //do more here
            return Kick(playerid); }
        }
        case CLEO_CARWARP:
        {
            CleoDetected[playerid]++;
            if(CleoDetected[playerid] == 1) {
            SendClientMessage( playerid, -1, "You are car warping." );
            //do more here
            return Kick(playerid); }
        }
        case CLEO_CAR_PARTICLE_SPAM:
        {
            CleoDetected[playerid]++;
            if(CleoDetected[playerid] == 1) {
            SendClientMessage( playerid, -1, "You are partical spamming" );
            //do more here
            return Kick(playerid); }
        }
    }
    return 1;
}
Is this public block only 3 things or much more, i want to block some mod from cleo..
Reply


Messages In This Thread
How to block cleo mod on server - by bigboy81 - 06.01.2015, 13:33
Re: How to block cleo mod on server - by Ironboy - 06.01.2015, 13:40
Re: How to block cleo mod on server - by bigboy81 - 06.01.2015, 16:04
Re: How to block cleo mod on server - by Ironboy - 06.01.2015, 16:07
Re: How to block cleo mod on server - by bigboy81 - 06.01.2015, 16:10
Re: How to block cleo mod on server - by Ironboy - 06.01.2015, 16:16
Re: How to block cleo mod on server - by bigboy81 - 06.01.2015, 16:22
Re: How to block cleo mod on server - by Ironboy - 06.01.2015, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)