Jump to content

lil Toady

MTA Team
  • Posts

    2,318
  • Joined

  • Last visited

Everything posted by lil Toady

  1. oh try to change var %a = $iif($4,$iif($mta.nick($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) under 'on *:SIGNAL:mta.command:{' to var %a = $iif($4,$iif($mta.nick($1,$4) != Unknown,$4,$gus.getid($1,$4)),$2)
  2. you have any mods installed for SA?
  3. here is one for GUS admins with level more than 7 on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.nick($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !tempban) { if ($gus.level($1,$2) >= 7) { if (%a == $2) mta.msg $1 $2 Error - You cant tempban yourself elseif (%a == -1) mta.msg $1 $2 Error - Absent ID elseif ($gus.level($1,$2) <= $gus.level($1,%a)) mta.msg $1 $2 Error - Can't ban a player with the same or higher level else { if ($5 isnum) { if ((m* iswm $6) || (h* iswm $6) || (d* iswm $6)) { if (m* iswm $6) { mta.text $1 $mta.nick($1,%a) has been banned for $5 minute $+ $iif($5 != 1,s) $+ , by $mta.nick($1,$2) $+ . $iif($7,Reason: $7-) !.timer 1 $calc($5 * 60) temp.unban $1 $mta.nick($1,%a) !writeini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,%a) $calc($ctime + $5 * 60) } elseif (h* iswm $6) { mta.text $1 $mta.nick($1,%a) has been banned for $5 hour $+ $iif($5 != 1,s) $+ , by $mta.nick($1,$2) $+ . $iif($7,Reason: $7-) !.timer 1 $calc($5 * 3600) temp.unban $1 $mta.nick($1,%a) !writeini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,%a) $calc($ctime + $5 * 3600) } elseif (d* iswm $6) { mta.text $1 $mta.nick($1,%a) has been banned for $5 day $+ $iif($5 != 1,s) $+ , by $mta.nick($1,$2) $+ . $iif($7,Reason: $7-) !.timer 1 $calc($5 * 86400) temp.unban $1 $mta.nick($1,%a) !writeini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,%a) $calc($ctime + $5 * 86400) } !writeini " $+ $scriptdir $+ tempbans.ini" IPS $mta.nick($1,%a) $mta.ip($1,%a) mta.ban $1 %a } } } } } } on *:SIGNAL:mta.connect:{ while (%a <= $ini($scriptdir $+ tempbans.ini,$mta.server($1),0)) { %b = $readini($scriptdir $+ tempbans.ini,$mta.server($1),$ini($scriptdir $+ tempbans.ini,$mta.server($1),%a)) if (%b) { if ($ctime >= %b) temp.unban $1 $readini($scriptdir $+ tempbans.ini,IPS,$ini($scriptdir $+ tempbans.ini,$mta.server($1),%a)) else !.timer 1 $calc(%b - $ctime) temp.unban $1 $readini($scriptdir $+ tempbans.ini,IPS,$ini($scriptdir $+ tempbans.ini,$mta.server($1),%a)) } !inc %a } } alias temp.unban { mta.unban $1 $2 mta.text $1 $+(',$readini($scriptdir $+ tempbans.ini,IPS,$2),') unbanned. !remini " $+ $scriptdir $+ tempbans.ini" IPS $mta.nick($1,$2) !remini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,$2) } use it like: !tempban dude 50 mins (for 50 mins ban) !tempban dude 2 hours (for 2 hours ban) !tempban dude 1 day (for a day ban)
  4. lil Toady

    dozens of questions

    For SA there is race mode only yet, read about the DeathMatch developing progress at the blog In Vice City you can ride around, kill people and do anything you want
  5. Getting angry for MTA:SA DM not being released yet? You know, mta team can not release it for you at all, at least they are not obliged to.... They dont get payed or something for that, they are programming mta in their free time. You must be pleased they still did not leave it at all.. Bye
  6. here, you can figure out of this script.. use it like !tempban <#> on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.nick($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !tempban) { if (%a == $2) mta.msg $1 $2 Error - You cant tempban yourself elseif (%a == -1) mta.msg $1 $2 Error - Absent ID else { if ($5 isnum) { if ((m* iswm $6) || (h* iswm $6) || (d* iswm $6)) { if (m* iswm $6) { mta.text $1 $mta.nick($1,%a) has been banned for $5 minute $+ $iif($5 != 1,s) $+ , by $mta.nick($1,$2) $+ . $iif($7,Reason: $7-) !.timer 1 $calc($5 * 60) temp.unban $1 $mta.nick($1,%a) !writeini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,%a) $calc($ctime + $5 * 60) } elseif (h* iswm $6) { mta.text $1 $mta.nick($1,%a) has been banned for $5 hour $+ $iif($5 != 1,s) $+ , by $mta.nick($1,$2) $+ . $iif($7,Reason: $7-) !.timer 1 $calc($5 * 3600) temp.unban $1 $mta.nick($1,%a) !writeini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,%a) $calc($ctime + $5 * 3600) } elseif (d* iswm $6) { mta.text $1 $mta.nick($1,%a) has been banned for $5 day $+ $iif($5 != 1,s) $+ , by $mta.nick($1,$2) $+ . $iif($7,Reason: $7-) !.timer 1 $calc($5 * 86400) temp.unban $1 $mta.nick($1,%a) !writeini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,%a) $calc($ctime + $5 * 86400) } !writeini " $+ $scriptdir $+ tempbans.ini" IPS $mta.nick($1,%a) $mta.ip($1,%a) mta.ban $1 $2 } } } } } on *:SIGNAL:mta.connect:{ while (%a <= $ini($scriptdir $+ tempbans.ini,$mta.server($1),0)) { %b = $readini($scriptdir $+ tempbans.ini,$mta.server($1),$ini($scriptdir $+ tempbans.ini,$mta.server($1),%a)) if (%b) { if ($ctime >= %b) temp.unban $1 $readini($scriptdir $+ tempbans.ini,IPS,$ini($scriptdir $+ tempbans.ini,$mta.server($1),%a)) else !.timer 1 $calc(%b - $ctime) temp.unban $1 $readini($scriptdir $+ tempbans.ini,IPS,$ini($scriptdir $+ tempbans.ini,$mta.server($1),%a)) } !inc %a } } alias temp.unban { mta.unban $1 $2 mta.text $1 $+(',$readini($scriptdir $+ tempbans.ini,IPS,$2),') unbanned. !remini " $+ $scriptdir $+ tempbans.ini" IPS $mta.nick($1,$2) !remini " $+ $scriptdir $+ tempbans.ini" $mta.server($1) $mta.nick($1,$2) }
  7. you need to download some scripts for mtama, try GRS for now
  8. no-cd crack can cause this problem i think
  9. oh yeah, didnt notice something, you did fine, cause you cant have the first arg in the ini with spaces, but i'd do that like: var %test = $+($replace($fulldate,$chr(32),$chr(95)),$chr(58),$mta.nick($1,$2)) !writeini " $+ $scriptdir $+ feedback.ini" FEEDBACK %test $4- but there is not much difference with your one
  10. 1. Check what version of VC you have set in Options tab in the client, try changing 2. you have a legal copy of vice city? 3. do you have any mods installed?
  11. i don't understant why you need those $replace things, will work without them too
  12. This bases are being set only for clanwars, every player can enter them whenever he wants.. And btw mta does not support some area protection, so only special people can enter it, or something like that..
  13. They do, you dont need the all seeing eye, its built in the mta0.5 client which you need to play VC, mta:sa is for SA only
  14. why do you join empty servers then lol? under 'Players' in the server list in shows the number of players in the server (x/x = current_players/max_server_players), find a server with some people in
  15. umm.. server empty? MTA doesnt support pedestrians/bots. Join an other server, the server browser shows how many players are there in the server.
  16. Why do you always start new topics? You have already asked for this scripts before... post in your old topics About the Clan RPG.. you mean Jax's and Oli's one? you already got answered, this is a known bug in the script, you need to fix it yourself or ask somebody to fix it for you
  17. Im not... 22003 and 44003 are for mta:sa, to look at his mtama log, he's trying to connect to a 0.5 server, so i have no mistake.. only maybe if he has a wrong mta:ma.. 12Gauge, you want to start a MTA:SA server or MTA 0.5 one?
  18. Use the MTAServerConfigTool in your MTA folder to set up your server, if it gives up errors, remove the MTAServerConfigTool.exe.manifest and try again, there itll ask you to enter the admin port, make it be 4003 (or whatever you want, but it must be a udp port) game port make 2003, then start the server and in the server window it must tell you that the Admin server started successfuly (if not u did something wrong) After that in the mtama enter IP 127.0.0.1, your admin and client ports, admin pass and hit connect button. must work
  19. lil Toady

    Lol? :D

    on *:SIGNAL:mta.command:{ if ($3 == !wanted) { var %a = 0,%b while (%a <= $mta.maxplayers($1)) { if ($readini(wanted.ini,level,$mta.name($1,%a)) >= 1) %b = $iif(!%b,$mta.name($1,%a) ( $+ $readini(wanted.ini,level,$mta.name($1,%a)) $+ ),%b $+ $chr(44) $mta.name($1,%a) ( $+ $readini(wanted.ini,level,$mta.name($1,%a)) $+ )) !inc %a } mta.say $1 $iif(%b,Current Wanted Players: %b,No wanted players) } }
  20. i had no need to read though, i knew its race only but you see, you need to read all that text on the download page to find out that its race mode, if it was some big line that no-one could miss, or a line right above the download link saying that its current release is race only, people will notice it and be sure what do they download
  21. one more bumped old topic P.S: what was the mta-sw site?
  22. Admin port and client port are different things, have you set up an admin connection in the server conf? and have you installed the server patch?
  23. If really you can not fill the Client port field, or just write any number there, mtama doesn't use it for connection
  24. This is the port which players use to connect (2003 default)
  25. No need to touch the main page imo, easyer just write somewhere in the download page that the current release is race mode only
×
×
  • Create New...