Jump to content

lil Toady

MTA Team
  • Posts

    2,318
  • Joined

  • Last visited

Everything posted by lil Toady

  1. yay you noticed that typo in !setrank! Now i can sleep well knowing that at least somebody became a good scripter here j/k
  2. lil Toady

    Name Kick

    hmm, tell me the alias to save a loaded script well to load its 'load -rs' to reload 'reload -rs' logical to think that to save it i should use 'save', but it wont work here
  3. lil Toady

    Help me plz!!

    of course every1 knows its for mta, but is it for MTA:SA OR MTA:VC?? if SA install GUS, if VC, dunno.. GRS doesnt suit u, maybe my admin system
  4. lil Toady

    Name Kick

    bastid Aeron, i hate mirc 6.2 6.16 ftw! REKINIZE, on *:SIGNAL:mta.join: { mta.nickcheck $1 $2 } on *:SIGNAL:mta.nick: { mta.nickcheck $1 $2 } alias mta.nickcheck { if ($findtok(%forbiddennicks,$mta.nick($1,$2),1,32)) { mta.text $1 $+(',$mta.nick($1,$2),') - forbidden nick mta.kick $1 $2 } } on *:SIGNAL:mta.command:{ if ($3 == !bannick) { if (!$4) mta.msg $1 $2 Error - Syntax: $3 else { set %forbiddennicks %forbiddennicks $4 mta.text $1 Nick $+(',$4,') banned. } } elseif ($3 == !unbannick) { if (!$4) mta.msg $1 $2 Error - Syntax: $3 else { var %a = %forbiddennicks set %forbiddennicks = $remtok(%forbiddennicks,$4,1,32) if (%a != %forbiddennicks) mta.text $1 Nick $+(',$4,') unbanned. else mta.text $1 Nick $+(',$4,') not banned. } } } well, thats not the way i use in my scripts but that would work too P.S: you can make the same with the Aeron's code but that doesn't make sence and anyway you know who's the boss of course i am
  5. MTA Players visit your site more often than the MTA site?
  6. hmm so you are saying that all 4 guys in th vid are CJ? it's a bit dark, you can't really see their faces yes, all of them are CJs
  7. GTA doesn't support clothes on any other skin than CJ, so no.
  8. pretty nice, but you have to read some more scripting.html i could make that script to be about 50kb if not less Your script will not work for long on crowded servers coz of how you use the INIs Well, i can point you to some places to tweak but it will take long and like most of you could have noticed im very lazy pm me if yon need some help
  9. that doesn't matter.. you sure that the commands are working from admin con? add to your script on *:SIGNAL:mta.admin:{ if (!* iswm $2) !.signal mta.command $1 1337 $2 $3- elseif (!* iswm $3) !.signal mta.command $1 1337 $3 $4- } on *:SIGNAL:mta.connect:{ !writeini " $+ $mta.dir $+ $1.ini" ID1337 name Admin ;and something for the script to know his lvl is the top one } btw why you all love that PM spam on connect?? it makes people time out, if they dont time out they more likely wont get the PMs normally, they will be something like "hello pal, please lo@%%AGF#%SA"
  10. Well, considering mta dm is not released yet you can do nothing with the code. You have to wait for the release to warp like that
  11. nope, it works here P.S: about a month ago i've banned an ip which i suspected in spoiling the maps, so if you have probs and you think i could ban you by mistake pm me your ip
  12. color is not required, if it's not set, mta uses default color here: bool outputChatBox ( string text, [ element visibleTo=getRootElement(), int r=255, int g=255, int b=255 ] ) all the stuff in [] brackets is not required
  13. Syntax check, double alias/events check
  14. hah nice guess, my ingame nick is [FMJ]master
  15. i can write something that'd work for maps with respawn and without it, but i'm lazy atm maybe a bit later
  16. well the scripts combo bugs, as it's on the bottom of the dialog it doesnt show any script (i only see a half of a word), and your script can do nothing but loading/unloading, in mtama scripts loader checks for double events.. Well looks useless to me, soz P.S: You sure that {FMJ}Oli helped you?.. i doubt it, the tag syntax is different and he won't ever change it w/e gj
  17. well i have no race server so i cant test it, but i see that you forgot an 'inc %a' in the loop and i suppose that $mta.dead returns $true or $false, also you could stop the loop after it found the winner with !halt [syntax=mIRC]on *:SIGNAL:mta.startrace: { set %cplayers $mta.server($1).players } on *:SIGNAL:mta.death: { set %cplayers $calc(%cplayers - 1) if (%cplayers == 1) { var %a = 0 while (%a < $mta.server($1).cmax) { if (!$mta.dead($1,%a)) { mta.text $1 $mta.nick($1,%a) won! mta.freeze $1 %a !halt } !inc %a } } }[/lua]
  18. edit or remove the banned.lst and restart the server
  19. well, it will work, but there's a bug in it, which allows frozen players to unfreeze themselves (just change nick to anything and u're unfreezed)
  20. servers admins can always make some communities where people trust each other and sync bans on their servers with mta:ma or something
  21. on *:SIGNAL:mta.command:{ if ($3 == !hello) { mta.ban $1 $2 HELLO } }
  22. where did you see that? you can use thousands, that ain't 1000, that's a lot more afaik
×
×
  • Create New...