Jump to content

lil Toady

Retired Staff
  • Posts

    2,318
  • Joined

  • Last visited

Everything posted by lil Toady

  1. on *:SIGNAL:mta.command:{ if (!%command [ $+ [ $1 ] $+ [ $3 ] ]) { set -u3 %command [ $+ [ $1 ] $+ [ $3 ] ] 1 } else mta.msg $1 $2 Please don't use the command $+(',$3,') so much. }
  2. none of those will work do it like this: on *:SIGNAL:mta.join:{ !writeini -n " $+ $scriptdir $+ players.ini" PLAYERS $mta.nick($1,$2) $calc($readini($scriptdir $+ players.ini,PLAYERS,$mta.nick($1,$2)) + 1) }
  3. i already posted a script to solve this, search the forum
  4. everything lol, better just use it in a separate file untill somebody who really knows scripting puts it into gus
  5. on *:TEXT:*:%echochan:{ do.echo $1- } on *:INPUT:%echochan:{ do.echo $1- } alias do.echo { if ($1 == !players) { var %a = 0,%b,%c = %echoserver while (%a <= $mta.server(%c).cmax) { if ($mta.nick(%c,%a) != Unknown) %b = $iif(%b,%b $+ $chr(44) $mta.nick(%c,%a),$mta.nick(%c,%a)) !inc %a } msg %echochan Players: $iif(%b,$v1,None) } } make sure %echochan is set to your channel and %echoserver is set to your server ID
  6. on *:TEXT:*:%echochan: { if ($1 == !players) { var %a = 0,%b,%c = %echoserver while (%a <= $mta.server(%c).cmax) { if ($mta.nick(%c,%a) != Unknown) %b = $iif(%b,%b $+ $chr(44) $mta.nick(%c,%a),$mta.nick(%c,%a)) !inc %a } echo %echochan Players: $iif(%b,$v1,None) } }
  7. Lol, im in XE clan. you are not
  8. omg [FIN]P_X_L, YES...
  9. "DD or not DD, that is the question"!
  10. (OVG)Santi, i've been on the forum for long and know that you can't script, so why don't you just listen to those who can?
  11. most of that is possible with scripting
  12. show what does your server output when you start it and what do you fill in your admin tool, i'm 100% sure that's your fault, not mta
  13. ehm, just for nothing? go and download one of the released for public scripts.. like lots of the servers do you posted in a wrong section btw
  14. i started to dislike that tend to edit someones work without a permission Well i think it's ok if you just edit it for yourself, but you kinda 'release' it also..
  15. lil Toady

    [sDs]

    Your site background doesn't fit 1280x1024 screens
  16. umm.. its there, but for level 1+ admins
  17. That will reque some file changing, which violates the EULA, easier to add a Single Player button to mta, but that doesn't make sense
  18. Well, it wont get all the maps from the first try. It will be getting them untill it gets all, that could take some time
  19. hmm, make sure those files are not read-only
  20. do !updateraces in mta or download an mtama with already built in updater
  21. Yeh, possible with scripting
  22. Yes, if put its $mta.vehicle($1,$4).vehicle, its returning number of the car (only the ID), but i want whole vehicle name. damn told you that $mta.vehicle has no .vehicle prop, cant you read? it will return the same as just $mta.vehicle, you need $mta.vehicle($1,$4).name to return the name of the vehicle If even $mta.vehicle($1,$4).name doesnt work make sure that you have original mta.data.ini in your mtama dir
  23. hmm, Admin+ on?
  24. its $mta.vehicle($1,$4).name
  25. that's cause mta.vehicle alias does not have an .vehicle propertie, so it returns just mta.vehicle (its id), what for you want to put that?
×
×
  • Create New...