Jump to content

lil Toady

MTA Team
  • Posts

    2,318
  • Joined

  • Last visited

Everything posted by lil Toady

  1. lil Toady

    Dialog

    reinstall mirc with help file included then
  2. lil Toady

    Dialog

    people have to learn using help, type '/help dialogs' in mirc, everything is explained there. And i'd recommend you a program called dialog studio. It's right for creating dialogs for mirc. (Before i found it making dialogs took so damn long)
  3. lil Toady

    Log in as Admin?

    /rcon_login is a command in race, doesn't work in mta0.5
  4. k, here's some kind of a beta version of the program: http://mta-stats.com/downloads/mtala.rar if you have some problems tell me. It has some list of scripting functions inside. some simple scripts look like that: addEventHandler ( "onPlayerJoin", "onPlayerJoin" ) function onPlayerJoin ( id ) sendMessage ( id, "welcom to my server, "..getPlayerName ( id ) ) end addEventHandler ( "onPlayerChat, "onCommand" ) function onCommand ( id, text ) local tokens = string.split ( text ) if ( tokens[1] == "!info" ) then sendChat ( "Admin Panel by lil_Toady" ) end end ah ye, a bit messy with connecting atm, via command string it is: MTA Admin.exe <ip> <port> <name> <password> like this: MTA Admin.exe 127.0.0.1 4003 Admin 12345 it's defaulted to that ^ My TODO list: finally add banPlayer(), kickPlayer(), banIP() (yeh im lazy ) sql support file writing/reading getVehicleColor() gettok() accepting function request if somebody is even gonna use this might do a version for race if someone needs it and if somebody knows c++ and wants to do a gui version, im fine with sharing the sources
  5. lil Toady

    which continent?

    euro-europe? american-america!
  6. lil Toady

    Which is the best MTA?

    you will hardly find anyone playing gta3
  7. this message only pops up if you have something wrong entered in the host/port boxes
  8. lil Toady

    MD5

    this topic is more than a year old..
  9. He used hashes because they are a way better (faster, easier to use, no storage limits etc.etc.) Why would he want to rewrite this part to use a worse way? Why would you not write a script to convert ini's to hashes? You can load an ini into hash too and save the way PRS does
  10. for those who understand something in politics
  11. lil Toady

    Help

    just ignore this message, it will work fine without the anticheat definition file
  12. $mta.server yeh, sorry and if you pull only the server id to $mta.dead it returns the number of dead players, if you pull server and player ids it returns whether the player is dead or not ($true/$false)
  13. Try using this script along side: http://mta-stats.com/downloads/RaceList%20Updater.mrc
  14. It is so wrong..... 1. bracket mismatch 2. you compare a boolean value with a string? smart.. NOT 3. It does need a dead check cause it means much whether a dead player left or an alive one. 4. '!dec %cplayers' would do instead of that 'set %cplayers $calc(%cplayers - 1)' 5. that %cplayers is not anyhow reliable, i'd do $calc($server($1).players - $mta.dead($1)) This will return the real number of alive players. so huh. on *:SIGNAL:mta.part:{ if (!$mta.dead($1,$2)) !dec %cplayers mta.end $1 $2 } or on *:SIGNAL:mta.part:{ if (!$mta.dead($1,$2)) %cplayers = $calc($server($1).players - $mta.dead($1)) mta.end $1 $2 }
  15. http://mta-stats.com/downloads/echo.mrc - i see you use my echo script so i added admin thing to it now. and yeh, it's mta.adcon
  16. yes, don't forget the file name though
  17. $md5(YOUR_SCRIPT_DIR_HERE,2)
  18. It is not a virus, antivirus programs may think so cause mta hacks into GTA memory. Just allow mta with your antivirus
  19. Yes you would be able to script in mirc but it will be completely not needed since mtasa dm has a built in scripting system (Lua) that has a lot more possibilites
×
×
  • Create New...