Jump to content

lil Toady

MTA Team
  • Posts

    2,318
  • Joined

  • Last visited

Everything posted by lil Toady

  1. yes it is possible, you can get pictures and videos in game. That's more like useless though
  2. the link on the first post. http://mta-stats.com/maps/upload.php sorry it's passworded atm, will fix it this evening. I believe i've seen your maps there though
  3. show me an example link then so i know the page syntax
  4. erm ok, and why would you want to parse it throught that xendot.com link which returns only an image?
  5. looking at the script i see that you have no idea of what you're doing Too many errors. What is it supposed to do?
  6. or mta.addban on *:SIGNAL:mta.command:{ if ($3 == !ban) { if (*.*.*.* iswm $4) { mta.addban $1 $4 mta.say $1 IP $+(',$4,') successfully banned. } else mta.msg $1 $2 Error - Invalid IP } }
  7. lil Toady

    MTA.[options]

    those are related to mta:ma, look into scripting.html, it goes with mta:ma.
  8. if ($left($4,1) == $chr(33)) mta.text $1 $right($4,-1)
  9. you are wrong.. $4- means that it will use all the parameters since $4 ($4 $5 $6 $7...$n) example: on *:SIGNAL:mta.command:{ if ($3 == !test) test i am sooo cool, better than anyone in the world! } alias test { mta.text $1 $5- ; $1 = 'i', $2 = 'am', $3 = 'sooo', $4 = 'cool,', $5 = better, etc. ; so this one will return 'better than anyone in the world!' (since the fifth parameter and further) }
  10. '/help $findtok' in mirc
  11. No, it will preload the model from the server when a resource is starting and put it ingame, well something like in CS
  12. they will be auto-downloaded by your client once a resource starts, live. You won't have to do anything yourself
  13. Z3RB1AN, Boss has split the clan. He took some members with him, claimed himself to be the new leader, and kinda kicked all the oldies from the clan. The real website has always been tdhklan.dp.ua and i definately support the old team, where brian, zoom etc are. Boss acted mean to his clanmates
  14. lil Toady

    Ascii Pic

    on *:SIGNAL:mta.command:{ if ($3 == !wow) { var %a = $rand(1,200) if (%a > $pgs.cash($1,$2)) mta.pm $1 $2 Error: Not Enough Cash else { mta.text $1 .oooO / ) ( \ Oooo. mta.text $1 ( ) / ( ) \ ( ) mta.text $1 \ ( ( ) ( ) ) / mta.text $1 ----\_).oooO-Oooo.(_/---- pgs.sub $mta.nick($1,$2) %a } } }
  15. That won't help. GUS has been banned from using dnsstuff.com ip tracer, that's why you get this message, there's nothing you can do, only to search the forum for a working trace and replace the gus one
  16. why would it look noobish? somebody might want it. And that Signal, it doesnt really matter how you write it.. 'signal', 'sIgNaL', 'SIGNAL' all will work the same
  17. no, they can not. The object limit has been set by R*, not by MTA Team
  18. lmao @ the commands list, i see lots of ways to do it, this one is the worse imo
  19. that's not a bug, that's an object limit, there's nothing you can do with it
  20. atually they have a structure if,elseif,else, that means that if one of them has been called others cant. Prob ain't in the script, maybe you have another script loaded ?
  21. 1. you can change every command start to 'if' but this way it's gonna take more cpu, to reduce cpu we use 'elseif' so it skips all those with elseif once a command has been executed but the first command always has to use 'if' to start from, you can not do 'elseif' if there was no 'if' 2. var %score = $replacex($mta.rank($1,$2),1,25,2,20,3,15,4,10,5,1) var %score = $replacex($mta.rank($1,$2),1,5,2,4,3,3) yes, those both will work. The syntax is: $replacex(source,string,newstring,string,newstring,etc...) 3. var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) this line is there to define a variable %a with an ID which it gets from the $4's arg. (so if you do '!command something' it will start looking for a player that has 'something' it his name and will set %a to this player's ID) It is not nesessary to have that in your script, but it is handy enough.
  22. on *:SIGNAL:mta.command: { if (($3 == !points) || ($3 == !score)) { if (%a != -1) mta.text $1 $mta.nick($1,%a) $+ 's Points: $calc($readini($scriptdir $+ points.ini,POINTS,$mta.nick($1,%a))) elseif ($mta.nick($1,$4)) mta.text $1 $4 $+ 's Points: $calc($readini($scriptdir $+ points.ini,POINTS,$4)) else mta.text $1 $mta.nick($1,$2) $+ 's Points: $calc($readini($scriptdir $+ points.ini,POINTS,$mta.nick($1,$2))) } elseif ($3 == !resetpoints) && ($gus.level($1,$2) > = 7) { if (!$4) mta.pm $1 $2 Type !resetpoints else { mta.text $1 $mta.nick($1,$2) Has Reset $4 $+ 's Points. !writeini " $+ $scriptdir $+ points.ini" POINTS $4 0 } } }
×
×
  • Create New...