06.01.2015, 13:33
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..
is there any other way to protect server of cleo mods..
CLEO_FAKEKILL CLEO_CARWARP CLEO_CAR_PARTICLE_SPAM |
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;
}
You're supposed to put this code in your script while using fuckcleo.inc
pawn Код:
|
Currently there are only three but you can gladly make more but it ain't be working unless you make it compatible with them.
|