{CE}EyeZ Posted December 8, 2006 Share Posted December 8, 2006 here it is i got it frm Tlr DEEMON so no one will call me a copycatter 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
Jani Posted December 8, 2006 Share Posted December 8, 2006 Try posting here: http://mtavc.com/forum/viewforum.php?f=30 Link to comment
Jumba' Posted December 9, 2006 Share Posted December 9, 2006 maybe they were paused, but REKINEZE being an admin myself, I strongly suggest NOT to use !check but use !slap to test manually. !check is un-reliable especillly if the player is outgame or has crashed. So i'd recommend using !slap Link to comment
Winky Posted December 12, 2006 Share Posted December 12, 2006 Lol that script is maked by me and its not working atm you have no alias pause Link to comment
Guest Posted January 1, 2007 Share Posted January 1, 2007 on *:SIGNAL:mta.command:{ 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)) >= 1 { if $mta.vehicle($1,$mta.getid($1,$4)).name = foot { !.timer 6 1 $mta.slap($1,$mta.getid($1,$4)) pause s 1 if $mta.health($1,$mta.getid($1,$4)) >= 1 { !.timer 1 1 mta.say $1 WARNING: Hacks/Cheats detected on: $mta.name($1,$mta.getid($1,$4)), Player should be dead. Player HP: $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 4 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 Detected on $mta.name($1,$mta.getid($1,$4)) } else mta.msg $1 $2 Player is in a vehicle. } else mta.msg $1 $2 Player is dead / No HP. } else mta.msg $1 $2 Player is not ingame. } } I havent had chance to check the command, but should work. It works like this: (If I was Ingame, with 100hp on foot) Moontis: !check Moontis Checking Moontis for HP Hacks... (If I wasnt cheating, it would do the following) No Hacks/Cheats Detected on Moontis If I was cheating, it would be like: Moontis: !check Moontis Checking Moontis for HP Hacks... WARNING: Hacks/Cheats detected on: Moontis, Player should be dead. Player HP: (my current HP) TempBanning Moontis on IP: 127.0.0.1 (Real IP Ofc) for 1 hour Moontis has been kicked from the game. After the player was kicked, the script would write a 1 hour ban on IP, which, the IP would be unbanned after 1 hour. If the player wasnt ingame, in a car or already dead, the script would return one of these: Player is in a vehicle. Player is dead / No HP. Player is not ingame. If there is a problem with the script, I appologise, I havent scripted in quite some time and I havent had chance to test it. Link to comment
Recommended Posts