Jump to content

Aeron

Retired Staff
  • Posts

    968
  • Joined

  • Last visited

Everything posted by Aeron

  1. Aeron

    Pacman

    */me says nothing.*
  2. Aeron

    Kill lists

    >_> <_< Scripting!
  3. You can't use it in writeini but you can replace it with an wrapper: $replace(text,$crlf,@crlf,$lf,@lf) $replace(text,@crlf,$crlf,@lf,$lf) Comment Zomg multi line Will look like: [topic] item=Zomg@crlfmulti@crlfline with !writeini file topic item $replace(text,$crlf,@crlf,$lf,@lf) To extract is t again use code: !did -a dialog item $replace($readini(file,topic,item),@crlf,$crlf,@lf,$lf) and it looks like: Zomg multi line You may edit mta.mrc, but a next update *cough* can ruin your code.
  4. on *:DIALOG:Joker:init:*: Joker.update alias Joker.update { !did -r Joker 12 !did -a Joker 12 ======Comments====== $+ $crlf !did -a Joker 12 var %a = 1 while (%a <= $ini($scriptdir $+ JKE\Comments.ini,Comments,0)) { !did -a Joker 12 $readini($scriptdir $+ JKE\Comments.ini,Comments,$ini($scriptdir $+ JKE\Comments.ini,Comments,%a)) $+ $crlf !inc %a } } '!did -a' appends to the text currently in the textbox, if you want it on a new line you have to add a new line urself. $crlf does that. But do you have the parameters 'multi' and 'wrap' behind the textbox to make it a multiline textbox and wraps around? Check helpfile for more info: /help Dialogs
  5. When the clock ticks 23:59:60 (Yes 60, not 00 not 59, 60) The world shrinks! Leap seconds zomg zomg zomg zomg!!!
  6. Aeron

    prefixes

    /me reserves "hay_"
  7. * Aeron killed Vicer/Spitfire (Post-It note paper)
  8. How can i load the script loader script. Does it load it automaticly? /me runs
  9. The line: [lua]poo = getElementsByType ( "player" )[/lua] Returns a table/array of players stored in variable poo So 'poo[1]' returns 'Aeron' poo[2] returns 'Blokker' Now lua has a special 'for'-loop syntax to iterate trough such tables: 'for index,value in table do' Making: [lua]for index, player in poo do outputChatbox("Index: ".. index .. " Value: " .. getClientName(player), root ) end[/lua] Output: Index: 1 Value: Aeron Index: 2 Value: Blokker
  10. -Not that i know -Use 2 pcs/monitors or wait for ingame lua editor (Working on it, if I don't get a laziness attack.) -Size,red,green,blue,alpha -Scripts should inform player.
  11. A perfect working anti-cheat can only be developed by the game developers, not mod developers. They can make it on root level, mod developers not. Period. Edit: k.
  12. Aeron

    $mta.race problem

    I think i can't detect that on join. Feel free to fix it urself
  13. Gefeliciteerd ouwe knar :k:
  14. Aeron

    Warning About g00ns

    4 years active in MTA and still they don't trust me For example this link: http://www.keihardeporno.nl/ But yeah, pretty sad. Maybe myg0t can help (s0beit etc.).
  15. Pheer the power of scripts!
  16. Yes, this is clearly mIRC-style scripting ...not I won't recommend Luaedit, it wiped my scripts directory 2 times. The directory contained very advanced scripts which where EXTREMLY fun. QA Team knows Edit: What's up with the new 'onResourceLoad', do I have to change my scripts AGAIN?
×
×
  • Create New...