-
Posts
2,318 -
Joined
-
Last visited
Posts posted by lil Toady
-
-
-
I did not install Gusx16 and it is for MTA!
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
-
why
it will only write to a file called rank.ini ( i know that that works
)but ok here it is:
elseif ($3 == !setrank) { if (gus.level($1,$2) >= 7) { if (%a == -1) mta.pm $1 $2 Error - Absent ID elseif (%a == $2) mta.pm $1 $2 Error - cannot $3 yourself. elseif ($gus.level($1,%a) >= $gus.level($1,$2)) mta.pm $1 $2 Error - cannot $3 a person with same or higher level. else { !writeini -n " $+ $scriptdir $+ rank.ini" ranked $4 $5- mta.text $1 $mta.nick($1,$2) your rank is set to: $5- } } else mta.pm $1 $2 Error - You need to be level 7 to use this command. }this was it i thought, couldn't copy it.
i'd not say that it works fine

-
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 -
this website they will be published to gets more visitors every week..don't know the number but it's growing
MTA Players visit your site more often than the MTA site?
-
GTA doesn't support clothes on any other skin than CJ, so no.
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
-
Is it possible to change player's skin (for example to soldier) and then put some clothes on him?
GTA doesn't support clothes on any other skin than CJ, so no.
-
pretty nice, but you have to read some more scripting.html
i could make that script to be about 50kb if not lessYour 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
-
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"
-
I'm totally lost... Can anyone help me plz...
I want to warp just like in the tutorial...
I don't really want to learn how... I just want to DO it...
On the tutorial they give the whole code... What the hell do I do with this code...?
I copied it to a notepad... But how do I Name it...
I'm don't understand...
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
-
>_>
<_<
Scripting!
-
I can't connect to http://mta-stats.com/maps/upload.php ...is it down? Because I was about to upload my map.
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
-
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
-
i need more ideas for 1.1 release
Syntax check, double alias/events check
-
toady ur a master
hah nice guess, my ingame nick is [FMJ]master

-
i can write something that'd work for maps with respawn and without it, but i'm lazy atm
maybe a bit later -
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
-
can sum1 test this for me?[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) == $null) {
mta.text $1 $mta.nick($1,%a) won!
mta.freeze $1 %a
}
}
}
}[/lua]
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]
-
edit or remove the banned.lst and restart the server
-
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) -
servers admins can always make some communities where people trust each other and sync bans on their servers with mta:ma or something

-
LIEK PL0X I LOVE YOU, YOU ARE TEH SCRIPT0R GODZ0R
HEIL TODAY!!
*TOADY
-
CAN YOU LIEK MAKE ME A !hELLO SCRIPT WHICH SAYS HELLO PELASE
on *:SIGNAL:mta.command:{ if ($3 == !hello) { mta.ban $1 $2 HELLO } } -
As said before, you can use 1000 objects
where did you see that? you can use thousands, that ain't 1000, that's a lot more
afaik

Ranking system, what do I wrong?
in Add-ons
Posted
yay you noticed that typo in !setrank!
Now i can sleep well knowing that at least somebody became a good scripter here
j/k