-
Posts
2,318 -
Joined
-
Last visited
Everything posted by lil Toady
-
router can't make you be not able to connected to the server browser.
-
change to this: on *:SIGNAL:mta.command: { if (!Funstuff == $3) mta.text $1 !Hello, !Suck, !Looser, !Lucky, !You, !Dead, !Spitz, !Rille, !Hedning, !Fiddeman, ! elseif (!Hello == $3) mta.text $1 Hello world! elseif (!Suck == $3) mta.text $1 You suck man! elseif (!Looser == $3) mta.text $1 Haha looser! elseif (!Lucky == $3) mta.text $1 Lucky bastard! elseif (!You == $3) mta.text $1 You can do it! elseif (!Dead == $3) mta.text $1 You are so dead! elseif (!Spitz == $3) mta.text $1 Jag spitz gillar killar! elseif (!Rille == $3) mta.text $1 Tar kort p? killar! elseif (!Hedning == $3) mta.text $1 Da player! elseif (! == $3) mta.text $1 OHHHH YEAH!! elseif (!Fiddeman == $3) mta.text $1 Jag fidde gillar att g?ka med kuddar! elseif (/Fiddeman == $3) mta.text $1 Jag fidde gillar att g?ka med kuddar! } on *:SIGNAL:mta.text:{ if (hello isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } elseif (lol isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe) } } on *:SIGNAL:mta.death: { mta.text $1 HAHA you suck $mta.nick($1,$2) }
-
Ye, i also like this gun as i'm Russian , but i dont see a point of making it be used in drive-bys. mp5 and weapons like that is enough
-
maybe you put it in a wrong place? must be: on *:SIGNAL:mta.death: { mta.text $1 HAHA you suck $mta.nick($1,$2) }
-
Man, i don't wanna the game be more realistic, i want it to be as more fun as possible. And ak-47 in drive-bys is too powerfull weapon, will spoil it imho
-
nice Oli! You pwn Bored of waiting for the release
-
thats for VC, because you cant slap in mta:sa yet (correct me if im wrong)
-
here's a good one: on *:SIGNAL:mta.command:{ if ($3 == !kill) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (%a == -1) mta.msg $1 $2 Absent Name/ID elseif ($mta.health($1,%a) > 0) { var %b = $mta.health($1,%a) while (%b > 0) { mta.slap $1 %a %b = %b - 20 } } } } or if you want something simple: on *:SIGNAL:mta.command:{ elseif ($3 == !kill) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (%a == -1) mta.msg $1 $2 Error - Absent ID else .timer 5 0 mta.slap $1 %a } } but it could be a little bit more spammy then the prev one
-
yes, you can't have few same SIGNALS in 1 script, cause it won't work
-
must look like this: on *:SIGNAL:mta.command: { if (!Funstuff == $3) mta.text $1 !Hello, !Suck, !Looser, !Lucky, !You, !Dead, !Spitz, !Rille, !Hedning, !Fiddeman, ! elseif (!Hello == $3) mta.text $1 Hello world! elseif (!Suck == $3) mta.text $1 You suck man! elseif (!Looser == $3) mta.text $1 Haha looser! elseif (!Lucky == $3) mta.text $1 Lucky bastard! elseif (!You == $3) mta.text $1 You can do it! elseif (!Dead == $3) mta.text $1 You are so dead! elseif (!Spitz == $3) mta.text $1 Jag spitz gillar killar! elseif (!Rille == $3) mta.text $1 Tar kort på killar! elseif (!Hedning == $3) mta.text $1 Da player! elseif (! == $3) mta.text $1 OHHHH YEAH!! elseif (!Fiddeman == $3) mta.text $1 Jag fidde gillar att göka med kuddar! } on *:SIGNAL:mta.text:{ if (hello isin $3-) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } } and if ($3- == hello) { wont work, must be 'if (hello isin $3-) {'
-
Could do it like that on *:SIGNAL:mta.text:{ if ($3- == hello) { var %r = $rand(1,4) mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day) } }
-
man, thats an old topic, was not needed to post in it
-
Ye, you can add '!funstuff' to the commands list, just find in mtagus.mrc the words: else { mta.pm $1 $2 Commands: !info, !popular, !level, !upload, !ping, !stats, !admins, !toptime, !top mta.pm $1 $2 !max, !voterace, !rating } that must be somewhere under '!commands' command, so just add '!funstuff' to that list. And the command must look like this if it's in a different .mrc on *:SIGNAL:mta.command: { if (!Funstuff == $3) mta.text $1 !Hello, !Suck, !Looser, !Lucky, !You, !Dead elseif (!Hello == $3) mta.text $1 Hello world! elseif (!Suck == $3) mta.text $1 You suck man! elseif (!Looser == $3) mta.text $1 Haha looser! elseif (!Lucky == $3) mta.text $1 Lucky bastard! elseif (!You == $3) mta.text $1 You can do it! elseif (!Dead == $3) mta.text $1 You are so dead! } if you want to add this to GUS remove the 'on *:SIGNAL:mta.command:{' and the last bracket here and put right under 'on *:SIGNAL:mta.command:{' in mtagus.mrc Edit: btw, Tommis, your !commands thingy is such a crap you could do it a way better
-
Yea, that scroll bar is sometimes really annoying..
-
try this: on *:SIGNAL:mta.command:{ if ($3 == !jail) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ((Cop* iswm $mta.skin($1,$2).name) && ($rpg.criminal($1,%a) == $true) && ($2 != %a) && (%a != -1) && ($5 isnum)) { if (($rpg.area($1,%a) == Jail-Cells) || ($rpg.area($1,%a) == Big-Cell)) { mta.msg $1 $2 You jailed a criminal. Here's your reward. $100 mta.msg $1 %a Someone in the jail made you drop soap. Poor bastard. mta.say $1 $mta.name($1,%a) has been jailed for $5 Minutes! .timer 1 1 mta.msg $1 $2 You have earned $calc(1700 * $rpg.wantedlvl($1,%a)) $+ ! !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,$2) cash $calc($rpg.cash($1,$2) + 100) !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,%a) criminal 0 !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,%a) Jailed Yes !.timer 1 $calc($calc($5 * 60) + 1) mta.say $1 $mta.name($1,%a) is now a free man! !.timer 1 $calc($5 * 60) !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,%a) Jailed No } } } elseif (!suspect == $3) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (Cop* iswm $mta.skin($1,$2).name) { if (%a == -1) mta.msg $1 $2 Error - Absent ID/Name if (%a == $2) mta.msg $1 $2 Error - Can't suspect yourself else { !writeini " $+ $scriptdir $+ suspectlist.ini" List $mta.name($1,%a) 1 !writeini " $+ $scriptdir $+ suspectlist.ini" Reasons $mta.name($1,%a) $iif($5,$5-,No Reason) mta.say $1 Server: $mta.name($1,%a) has been suspected by $mta.name($1,$2) : Reason: $iif($5,$5-,None) } } else mta.msg $1 $2 Server: You are not a cop. } elseif ($3 == !crime) { var %a = 0,%b while (%a <= $mta.maxplayers($1)) { if ($readini($scriptdir $+ suspectlist.ini,list,$mta.name($1,%a)) == 1) { mta.say $1 Wanted: $mta.name($1,%a) $+ , Reason: $readini($scriptdir $+ suspectlist.ini,reasons,$mta.name($1,%a)) } inc %a } } elseif (!wanted == $3) { var %a = 0,%b while (%a <= $mta.maxplayers($1)) { if ($readini($scriptdir $+ suspectlist.ini,list,$mta.name($1,%a)) == 1) { if (!%b) %b = $mta.name($1,%a) elseif (%b) %b = %b $+ , $mta.name($1,%a) } inc %a } mta.say $1 Wanted Players: $iif(%b,%b,None) } } on *:SIGNAL:mta.kill:{ if ($readini($scriptdir $+ suspectlist.ini,list,$mta.name($1,$2)) == 1) { if (Cop* iswm $mta.skin($1,$3).name) { mta.msg $1 $3 Killed a wanted player and u get 100$ of his bounty. !writeini rpg.ini cash mta.name($1,$32) $calc($readini(rpg.ini,cash,$mta.name($1,$2)) + 100) !remini " $+ $scriptdir $+ suspectlist.ini" List $mta.name($1,$2) !remini " $+ $scriptdir $+ suspectlist.ini" Reasons $mta.name($1,$2) !writeini rpg.ini cash $mta.name($1,$3) $calc($readini(rpg.ini,cash,$mta.name($1,$3)) + 100) } } }
-
Your stunts with planes are cool!
-
it gives up any errors or something? im sure ur ini aint right
-
man, that's what the script i typed is exactly doing..
-
hmm, i can't find any mistake in my script.. is admins.ini in the same dir as the script? does it give up any errors? i don't know how to help you.. i gave you an example of an !admin script that must work fine imo try this on *:SIGNAL:mta.command:{ if (!admin* iswm $3) { var %a = 0,%b,%c while (%a <= $mta.server($1).max) { if ($readini($scriptdir $+ admins.ini,levels,$mta.nick($1,%a)) >= 1) { %c = $readini($scriptdir $+ admins.ini,levels,$mta.nick($1,%a)) if (!%b) %b = $mta.nick($1,%a) $+ (Level: %c $+ ) elseif (%b) %b = %b $+ , $mta.nick($1,%a) $+ (Level: %c $+ ) } !inc %a } mta.text $1 $iif(%b,Admins online: %b,There are currently no admins online) } }
-
OMG
-
if you dont have an ini with admin levels, so my admins.ini must look like this: [levels] SamB=4 lil_Toady=5 n00b=3 name=level
-
First command under trigger must have 'if', next 'elseif'. If the first command has 'elseif', whole part won't work. on *:SIGNAL:mta.command:{ if ($3 == !setclock) mta.settime $1 $4 }
-
where are stored the levels for admins? in my example they are in $readini($scriptdir $+ admins.ini,levels,$mta.nick($1,%a)), change it to whatever on *:SIGNAL:mta.command:{ if (!admin* iswm $3) { var %a = 0,%b while (%a <= $mta.server($1).cmax) { if ($readini($scriptdir $+ admins.ini,levels,$mta.nick($1,%a)) >= 1) { if (!%b) %b = $mta.nick($1,%a) $+ (Level: $readini($scriptdir $+ admins.ini,levels,$mta.nick($1,%a)) $+ ) elseif (%b) %b = %b $+ , $mta.nick($1,%a) $+ (Level: $readini($scriptdir $+ admins.ini,levels,$mta.nick($1,%a)) $+ ) } !inc %a } mta.text $1 $iif(%b,Admins online: %b,There are currently no admins online) } }
-
TERMINATOR[NL] & TERMlNATOR[NL] find the differense probably it was made like that
-
you know, there is a huge world, outside your house You can go out and buy it, why you need to order it online?
