Jump to content

lil Toady

MTA Team
  • Posts

    2,318
  • Joined

  • Last visited

Everything posted by lil Toady

  1. that has nothing to do with GUS, it works fine. Just the guy u're banning has a dinamic ip, the only way to get rid of him is subnet ban
  2. then find a !votekick script and change mta.kick to mta.ban...... At least you could try to do something yourself..
  3. always listen to Aeron! he's a smart guy
  4. don't edit GRS! its forbidden. And you're getting kicked cause of idlers kicker, check your options..
  5. lil Toady

    Error

    you have a legal copy of the game with no mods or cracks?
  6. there is a func to get id in mtama already, called mta.getid on *:SIGNAL:mta.command: { var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$mta.getid($1,$4)),$2) if ($3 == !ty) { if (%a == -1) mta.pm $1 $2 Error - Absent ID else mta.text $1 $mta.nick($1,$2) $+ : Thank you, $mta.nick($1,%a) $+ !! } }
  7. of course, just change the number to any you want here: if ($len($3-) > 10) && ...
  8. as you could notice by the topic name, we need only dm maps, not race. Read the first post for more info
  9. lil Toady

    MTA:ma

    mta:ma v4.x doesnt work with mta0.5, it's only for mta:sa (w/e the highest topic on in Add-ons )
  10. lil Toady

    Sync question

    i think he's talking about mta:sa..
  11. lil Toady

    Help!?!?

    that topic is more than one year old. Don't bump old topics
  12. what actually is working wrong? I haven't tested it
  13. on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.nick($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !votekick) { if (%a == -1) mta.pm $1 $2 Error - Absent ID else { if (%vote.nick. [ $+ [ $1 ] ] == $null) { !set %vote.nick. [ $+ [ $1 ] ] %a !set %vote.voters. [ $+ [ $1 ] ] $null mta.text $1 Votekick: "!vote" if u think that $mta.nick($1,%a) should be kicked. [ $+ $round($mta.server($1).players / 2),0) votes needed][120 secs] !.timervote [ $+ [ $1 ] ] 1 120 mta.cancelvotekick $1- } else mta.say $1 Another votekick is running: $mta.nick($1,%vote.nick. [ $+ [ $1 ] ]) } } elseif ($3 == !vote) { if (%vote.nick. [ $+ [ $1 ] ] != $null) { if ($2 !isin %vote.voters. [ $+ [ $1 ] ]) { %vote.voters. [ $+ [ $1 ] ] = %vote.voters. [ $+ [ $1 ] ] $2 if ($numtok(%vote.voters. [ $+ [ $1 ] ],32) >= $round($mta.server($1).players / 2),0)) { mta.text $1 $mta.nick($1,%vote.nick. [ $+ [ $1 ] ]) $numtok(%vote.voters. [ $+ [ $1 ] ],32) votes, ur out! mta.kick $1 %vote.nick. [ $+ [ $1 ] ] !unset %vote.nick. [ $+ [ $1 ] ] !unset %vote.voters. [ $+ [ $1 ] ] !.timervote [ $+ [ $1 ] ] off } else mta.text $1 $numtok(%vote.voters. [ $+ [ $1 ] ],32) votes for $mta.nick($1,%vote.nick. [ $+ [ $1 ] ]) $+, $calc($round($mta.server($1).players / 2),0) - $numtok(%vote.voters. [ $+ [ $1 ] ],32)) more votes and he's out! } else mta.text $1 $mta.nick($1,$2) You have already voted } } } alias mta.cancelvotekick { if ($mta.nick($1,%vote.nick. [ $+ [ $1 ] ] ) != Unknown) mta.text $1 Vote kick cancelled: $mta.nick($1,%vote.nick. [ $+ [ $1 ] ]) unset %vote.nick. [ $+ [ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] }
  14. 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) }
  15. wouldent it be mta.kill not mta.command or something eh im lost oh, yeah, didnt notice, thnx. on *:SIGNAL:mta.kill:{ if ($4 == 40) { mta.say $1 Kicking $mta.name($1,$3) for heli killing! mta.kick $1 $3 } }
  16. have you ever played it on a old integrated graphics card? Then you'll understand. hmm, you know what geforce mx440 is?
  17. maybe your new to computers, the motion blur causes some computers to perform badly, didn't you know that? even my old mx440 could handle the motion blur well enough
  18. lil Toady

    RP*

    there's no RP now and cube is in FMJ
  19. yes, you're gay, and your code is with mistakes
  20. on *:SIGNAL:mta.command:{ if ($4 == 40) { mta.say $1 Kicking $mta.name($1,$3) for heli killing! mta.kick $1 $3 } }
  21. Many things can cause a higher ping, do you have a firewall? what's you connection speed? maybe your connection speed is too low for mta
  22. lil Toady

    Sync

    btw, you can sort the servers by pings
  23. on *:SIGNAL:mta.command:{ if ($3 == !sellcar) { if (Sunshine-Autos isin $mta.area($1,$2)) { if (($mta.vehicle($1,$2).name != foot) && ($mta.vehicle($1,$2).name != Unknown)) { !writeini -n " $+ $scriptdir $+ Bank.ini" Bank $mta.name($1,$2) $calc($mta.bank($1,$2) + $rpg.worth($1,$2)) !writeini -n " $+ $scriptdir $+ BuySell.ini" Sell $mta.name($1,$2) $mta.vehicle($1,$2)) mta.say $1 $mta.name($1,$2) Sold $mta.vehicle($1,$2).name for $rpg.worth($1,$2) } else mta.msg $1 $2 You need to be in a car } else mta.msg $1 $2 You're not at Sunshine Autos! } } wasn't working coz mta.area retunrs not only sunshine-autos, it returns more text.
×
×
  • Create New...