Jump to content

!check script help


{CE}EyeZ

Recommended Posts

here it is i got it frm Tlr DEEMON so no one will call me a copycatter Razz

when i type !check in-game it will check them and it automatic bans them i dont kno why. its supposed to go like !slap check !ho player blabalbla but every time i !check it automatci thinks there usin hacks but there not here is the script below

on *:SIGNAL:mta.command:{

var %g = $iif(!$6,$2,$mta.findid($1,$6)))

var %r = $calc($mta.health($1,$mta.getid($1,$4)) - 10)

if $mta.level($1,$2) >= 4 {

if ($3 == !check) {

if $mta.status($1,$mta.getid($1,$4)) == 2 {

if $mta.health($1,$mta.getid($1,$4)) > 10 {

if $mta.vehicle($1,$mta.getid($1,$4)).name = foot {

!.timer 1 2 mta.say $1 /slap $mta.name($1,$mta.getid($1,$4))

!.timer 1 1 mta.say $1 Checking $mta.name($1,$mta.getid($1,$4)) for HP hacks ...

pause s 3

if $mta.health($1,$mta.getid($1,$4)) > %r {

!.timer 1 1 mta.say $1 WARNING: Hacks, Cheats found on: $mta.name($1,$mta.getid($1,$4)) ( $+ $calc(%r + 10) - $mta.health($1,$mta.getid($1,$4)) $+ )

!.timer 1 2 mta.say $1 TempBanning $mta.name($1,$mta.getid($1,$4)) on ip: $mta.ip($1,$mta.getid($1,$4)) for 1 hour

!.timer 1 3 mta.kick $1 $mta.getid($1,$4)

!.timer 1 2 mta.addban $1 $mta.ip($1,$mta.getid($1,$4)) Checker found cheats/hacks.

!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$mta.getid($1,$4)) name $mta.name($1,$mta.getid($1,$4))

!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$mta.getid($1,$4)) time $ctime

!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$mta.getid($1,$4)) till $calc($ctime + 3600)

!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$mta.getid($1,$4)) ip $mta.ip($1,$mta.getid($1,$4))

!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$mta.getid($1,$4)) server $mta.server($1)

!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$mta.getid($1,$4)) serverno $1

!write " $+ $grs.dir $+ tempbans.txt" $mta.ip($1,$mta.getid($1,$4))

!.timer 1 3600 grs.unban $mta.ip($1,$mta.getid($1,$4))

}

else !.timer 1 1 mta.say $1 No Hacks, Cheats found on: $mta.name($1,$mta.getid($1,$4)) ( $+ $calc(%r + 10) / $mta.health($1,$mta.getid($1,$4)) $+ )

}

else mta.msg $1 $2 Player is in a vehicle.

}

else mta.msg $1 $2 Player does not have enough health.

}

else mta.msg $1 $2 Player is not ingame.

}

}

Link to comment
on *:SIGNAL:mta.command:{
 var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) 
 if ($mta.level($1,$2) >= 4) {
   if ($3 == !check) {
     if ($mta.status($1,%a) != 2) mta.msg $1 $2 Player is not ingame.
     elseif ($mta.vehicle($1,%a).name != foot) mta.msg $1 $2 Player is not on foot.
     elseif ($mta.health($1,%a) <= 20) mta.msg $1 $2 Player does not have enough health.
     else {
       var %hp = $mta.health($1,%a)
       mta.say $1 Checking $mta.name($1,%a) for HP hacks ...
       mta.slap $1 %a
       .timer 1 1 mta.check $1 %a %hp
     }
   }
 }
}
alias mta.check {
 if ($mta.health($1,$2) >= $3) {
   mta.say $1 WARNING: HP Cheats found on: $mta.name($1,$2)
   mta.say $1 TempBanning $mta.name($1,$2) on ip: $mta.ip($1,$2) for 1 hour
   mta.ban $1 $2 Checker found HP cheats.
   !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) name $mta.name($1,$2)
   !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) time $ctime
   !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) till $calc($ctime + 3600)
   !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) ip $mta.ip($1,$2)
   !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) server $mta.server($1)
   !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) serverno $1
   !write " $+ $grs.dir $+ tempbans.txt" $mta.ip($1,$2)
   !.timer 1 3600 grs.unban $mta.ip($1,$2)
 }
 else mta.say $1 No HP chears found on $mta.name($1,$2)
}

Link to comment
on *:SIGNAL:mta.command: {
  elseif ($3 == !check) { 
   if (%a == -1) mta.msg $1 $2 Error - Absent ID
   elseif ($mta.status($1,%a).text == In game) {
     if ($mta.vehicle($1,%a) == 0) {
       if (%isadmin. [ $+ [ $1 ] $+ . $+ [ $4 ] ] != true) {
         !.timer 1 0.1 mta.say $1 checking $mta.name($1,%a) for health cheat.
         !timer 1 1 mta.chkhp $1 %a $mta.health($1,%a)
         !.timer 1 0.1 mta.slap $1 %a
       }
       else mta.say $1 Cannot perform check on admins!
     }
     else !timer 1 0.1 mta.say $1 $mta.name($1,%a) is in a vehicle, cannot perform check!
   }
   else mta.say $1 $mta.name($1,%a) is not in game, cannot perfrom check!
 }

alias mta.chkhp {
 !.timer 1 0.1 mta.say $1 Current health: $mta.health($1,$2) Previous: $3
 if ($mta.health($1,$2) < $3) {
   !timer 1 0.1 mta.say $1 $mta.name($1,$2) IS NOT using a health cheat!
 }
 else { 
   !timer 1 0.1 mta.say $1 Kicking $mta.name($1,$2) $+ , Reason: Suspected Health Cheat!
   !timer 1 1 mta.ban $1 $2
 }

Link to comment
SHeep why do u hate me??/ huh i dont care what you think you idiot clown or is it maybe ur all mad now bcuz no-one goes to ur stupid server anymore?

huh well anyways leave me alone and go crash some more servers

Getting help from people on here and asking to burn the ladder of help they gave you so that other people don't have a similar script to yours is a pretty detestable thing to do. Add on top of that all these false allegations you've been throwing at me lately (along with reports from other server admin of you using my nick in their servers) and I've got quite a few reasons to not be liking you, stay on topic though. PM this kind of crap to me...

Stop embarrassing yourself man :roll:

Link to comment

sheepee why do you argue with me who cares your an idiot so you stop embarrising your self man! you kick me out of {AW} bcuz one of your Admin members gave me hacks to use so dont say im hacking while your clan is doing to :P and your server does suck!! i hope you see it in the future that crashing people and accusing people of shit they did'nt do will stop with your kinda attitude your going nowhere so keep it up! :D

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...