Jump to content

lil Toady

MTA Team
  • Posts

    2,318
  • Joined

  • Last visited

Everything posted by lil Toady

  1. lil Toady

    help pls

    1. I have already told you that you can Not have more than 1 same SIGNAL in a script. 2. Dont forget () brackets on if/elseif, like 'if ($3 == !bla) ...' 3. You had a {} brackets mismatch. 4. Your !members command will show a random member or a member on a specified line, not all of them... w/e: on *:SIGNAL:mta.command:{ if ($3 == !brb) mta.say $1 $mta.name($1,$2) has set his/her status to away elseif ($3 == !toilet) mta.say $1 $mta.name($1,$2) is going to the bathroom/toilet elseif ($3 == !dildo) mta.say $1 $mta.name($1,$2) uses his dildo elseif ($3 == !) mta.say $1 $mta.name($1,$2) with a large throuth elseif ($3 == !buyweed) mta.say $1 $mta.name($1,$2) buyed some weed elseif ($3 == !back) mta.say $1 $mta.name($1,$2) Is Back! elseif ($3 == !members) { if (!$4) %mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ nickserv.txt,$rand(1,$lines($scriptdir $+ nickserv.txt))) elseif ($4 isnum) %mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ nickserv.txt,$4) mta.say $1 members: %mta.event. [ $+ [ $1 ] ] } elseif ($3 == !remmember) { if ($4) { var %a = 0 while (%a <= $lines($scriptdir $+ nickserv.txt)) { if ($4 isin $read($scriptdir $+ nickserv.txt,%a)) { mta.say $1 Member ' $+ $read($scriptdir $+ nickserv.txt,%a) $+ ' removed. !write -dl $+ %a " $+ $scriptdir $+ nickserv.txt" } !inc %a } else mta.msg $1 $2 Member not found. } else mta.msg $1 $2 Error - Nick missing } }
  2. sirens are working fine.. there's something with your game
  3. that's a known bug and there's nothing u can do with it
  4. you make me think of releasing my FMJ match script not sure yet tho
  5. on *:SIGNAL:mta.command:{ if ($3 == !remmember) { if ($4) { var %a = 0 while (%a <= $lines($scriptdir $+ nickserv.txt)) { if ($4 isin $read($scriptdir $+ nickserv.txt,%a)) { mta.say $1 Member ' $+ $read($scriptdir $+ nickserv.txt,%a) $+ ' removed. !write -dl $+ %a " $+ $scriptdir $+ nickserv.txt" } !inc %a } else mta.msg $1 $2 Member not found. } else mta.msg $1 $2 Error - Nick missing } }
  6. cause you dont have a cash system?.. it wont add/take cash on your screen in the top right corner, that's in script.. it writes an ini with cash
  7. on *:SIGNAL:mta.command:{ if ($3 == !blabla) mta.say $1 bla bla elseif ($3 == !blablabla) mta.say $1 bla bla bla } and you can have more than 1 same signal in a script
  8. lil Toady

    help pls

    stop posting whole the script! If you want to show me how you pasted the command you could only paste the 'on *:Signal:mta.command:{ }' part w/e if it doesnt work even like that i dunno what's wrong.. do you have admin+ enabled?
  9. turn on admin+ in mtama..
  10. if $5 is a number, yes. But that 0 before $5 makes that timer repeat also the time.. (if $5 is, say 5 secs, when you start the timer itll say blabla every 5 seconds) so put 1 there.
  11. lil Toady

    help pls

    you can paste there instead of elseif ($findtok(!sun !fog !cloud !rain,$3,1,32)) mta.setweather $1 $replace($3,!cloud,1,!rain,2,!fog,3,!sun,0) line the following code elseif ($3 == !fog) mta.setweather $1 3 elseif ($3 == !rain) mta.setweather $1 2 elseif ($3 == !cloud) mta.setweather $1 1 elseif ($3 == !sun) mta.setweather $1 0 so it must work
  12. lil Toady

    help pls

    1. My nick is lil_Toady (or just Toady) but not toody 2. my !sun/!fog/!cloud/!rain work well (at least for me) 3. instead of !kill you can use '!slap 5' so it will slap the player 5 times
  13. lil Toady

    help pls

    oh you have v6.2 of mirc.. my script was written for 6.16 (or 6.17 is also fine).. 6.2 wont work well with it.
  14. if the view will be like in cars you wont be able to see anything when you're in a tunnel
  15. First time you load the script it asks you to enter you nick and password, with that nick you have level 10.. try to remove mta.nickserv.ini in the script dir then unload the script and load again.
  16. lol, you know that rpg scripts are not public so they will need to be written from the very beginning? I would never work on a script like you ask just for lvl 9 on a server
  17. lil Toady

    Beta

    http://forum.mtavc.com/groupcp.php?g=14237
  18. hmm i had that problem some time ago, forgot how did i fix it tho.. did you reinstall MTA after u had reinstalled SA?
  19. just to fix some BetaDevil's mistakes on *:SIGNAL:mta.command: { if ($3 == !buyweed) { if (Ryton isin $mta.area($1,$2)) { if (($4 isnum) && ($4 >= 1) && ($4 <= 100)) { mta.say $1 $mta.name($1,$2) brought $4 KG of weed. !writeini MTAScript.ini Cash $mta.name($1,$2) $calc($mta.cash($1,$2) - $4 * 1000) !writeini Drugs.ini Drugs $mta.name($1,$2) $calc($mta.drugs($1,$2) + $4) } else mta.msg $1 Enter a valid amount of drugs (1-100) } else mta.msg $1 $2 You are not at Ryton Aide } } alias mta.cash !return $iif($readini(MTAScript.ini,Cash,$mta.name($1,$2)),$v1,0) alias mta.drugs !return $iif($readini(Drugs.ini,Drugs,$mta.name($1,$2)),$v1,0)
  20. maybe just make a new game ehh?.. lots of what you've listed cant/wont be added, and please don't make an rpg of the game
  21. do you have any mods installed? and do you have a legal copy of VC?
  22. oh man.. that's such an old topic
  23. lil Toady

    slap script

    mods are player with with level from 2 to 5, you cant see the commands ingame as i havent added that. and your !jail script wont work as it uses aliases missing there, it's kinda a part of a big script which you dont have
  24. lil Toady

    slap script

    1. My link does work, at least for me 2. you need to be an admin at least level 4 to !slap 3. yes, the script cant run with mtama.mrc (GRS)
×
×
  • Create New...