How to block cleo mod on server
#1

I hear for one fuckcleo.inc but when i included him,my pawno stoped working
is there any other way to protect server of cleo mods..
Reply
#2

fuckcleo.inc protect your server from three type of mods

Quote:

CLEO_FAKEKILL
CLEO_CARWARP
CLEO_CAR_PARTICLE_SPAM

I guess you haven't added the code into your script other than just adding the include.
Reply
#3

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
fuckcleo.inc protect your server from three type of mods



I guess you haven't added the code into your script other than just adding the include.
Where i need put that ?
Reply
#4

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;
}
Reply
#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
#6

Quote:
Originally Posted by bigboy81
Посмотреть сообщение
Is this public block only 3 things or much more, i want to block some mod from cleo..
Currently there are only three but you can gladly make more but it ain't be working unless you make it compatible with them.
Reply
#7

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
Currently there are only three but you can gladly make more but it ain't be working unless you make it compatible with them.
I want block map recorder mod which record maps in radius and save it in txt file..
That it names object stealer,but the only way is to block that cleo mod...
Reply
#8

Quote:
Originally Posted by bigboy81
Посмотреть сообщение
I want block map recorder mod which record maps in radius and save it in txt file..
That it names object stealer,but the only way is to block that cleo mod...
Not all the cleo mods would harm the server nor players, cleo even provides some useful mods as well and it sounds like you're talking about some useful mods which you want to block. And basically the above 3 are some threats which would affect the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)