-
Posts
2,318 -
Joined
-
Last visited
Everything posted by lil Toady
-
anywhere you want, just set the path/link for it in the mtaserver.conf
-
why does www.mtasa/mtavc.com go to news first ?
lil Toady replied to CoZ's topic in Site/Forum/Discord/Mantis/Wiki related
Are they fricking blind or somethin? Everyone is just lazy to read, their target is only the download link, not the text around it -
something easy, like you type !job and you need to take a random car to random place I can make it if you don't mind
-
here is how i'd have it done on *:SIGNAL:mta.finish: { if ($mta.rank($1,$2) <= 5) { var %score = $replace($mta.rank($1,$2),1,5,2,4,3,3,4,2,5,1),%position = $replace($mta.rank($1,$2),1,first,2,second,3,third,4,fourth,5,fifth) mta.text $1 $mta.nick($1,$2) came %position $+ , points earned: %score !writeini " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$calc($v1 + %score),%score) } } on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) >= 1000) mta.text $1 $mta.nick($1,$2) has the title of Ultimate User! elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) >= 300) mta.nick($1,$2) has the title of Super User! elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) >= 100) mta.text $1 $mta.nick($1,$2) has the title of Advanced User! elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) >= 50) mta.text $1 $mta.nick($1,$2) has the title of User! elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) >= 1) mta.text $1 $mta.nick($1,$2) has the title of New User! else mta.text $1 $mta.nick($1,$2) has no rank! }
-
Tommis, there's one thing.. not everyone hosts scripts on the same dedi as the server For other people it will show the ping between player and admin, not between player and server
-
get mirc 6.16, it's best for scripts imo.. 6.2 has lots of changes so most of the scripts posted on this forum won't work
-
GJ MeanpantheR! are you going to add some ways to earn cash?
-
yeh, the prob is that new players have nothing in the points ini, not even 0, so you just need point in the script that if he has nothing in the ini he is new user, if he has more than 1000, he's ultimate if (!$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) mta.text $1 New user bla bla bla..
-
dont use $ in front of mta.text.. busm be just 'mta.text $1 ' not $mta.text
-
try to change if (Cop* iswm $mta.skin($1,$2).name) { to if ($mta.skin($1,$2) == 1) { if still not working, just restart your game after mtama is connected..
-
lol i'm sure you can... if you could not i dont think people'd post it here
-
on *:SIGNAL:mta.command:{ if (!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 mta.say $1 $mta.name($1,%a) has been added to the wanted list. Reason: $iif($5,$5-,None) } } else mta.msg $1 $2 Sorry, you are not a cop. } 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 1000$ of his bounty. !remini " $+ $scriptdir $+ suspectlist.ini" List $mta.name($1,$2) !writeini rpg.ini cash $mta.name($1,$3) $calc($readini(rpg.ini,cash,$mta.name($1,$3)) + 1000) } } } only change the ini here !writeini rpg.ini cash $mta.name($1,$3) $calc($readini(rpg.ini,cash,$mta.name($1,$3)) + 1000) to the ini you use to store cash
-
mta.ban 1 $mta.getid(1,Aeron) works without it anyway, will only give errors when you disconnect, but who cares
-
!clear doesn't remove the saved area.. It removes the points you set untill you saved the area.. P.S: f*ckin admit that not you made the script! that pisses me off when people say that they made something when they did not
-
you probably was up to post here
-
on *:SIGNAL:mta.command: { if ($3 == !alarm) { if (($mta.vehicle($1,$2).name == foot) || ($mta.vehicle($1,$2).name == Unknown)) mta.msg $1 $2 Error - you need to be in a car elseif ($4 == on) { mta.say $1 Alarm Activated !writeini " $+ $scriptdir $+ alarm.ini" alarm $mta.vehicle($1,$2) on } } } on *:SIGNAL:mta.enter:{ if ($readini($scriptdir $+ alarm.ini,alarm,$mta.vehicle($1,$2)) == on) { mta.msg $1 $2 You got 5 seconds to get out of the car or you'll die $+(.timer,$1,.,$2) 1 5 bla.kill $1 $2 } } on *:SIGNAL:mta.exit { $+(.timer,$1,.,$2) off } alias bla.kill .timer 5 0 mta.slap $1 $2 get in a car and type !alarm on
-
Man.. wtf, that script is not made by you.. That's Aeron's script however try this on *:SIGNAL:mta.command: { if (!clear == $3) { !unset %area mta.say $1 Area cleared. } if (!p == $3) { %area = %area $+ $chr(44) $+ $round($mta.location($1,$2,x),4) $+ $chr(44) $+ $round($mta.location($1,$2,y),4) mta.say $1 $calc($count(%area,$chr(44)) /2) point(s) set } if (!s == $3) { var %a if ($did(mta,$1 $+ 33) == GTA:3) !writeini " $+ $mta.dir $+ mta.data.ini" AREA1 $right(%area,-1) $4- elseif ($did(mta,$1 $+ 22) == Stunt) !writeini " $+ $mta.dir $+ mta.data.ini" AREA2 $right(%area,-1) $4- else { !writeini " $+ $mta.dir $+ mta.data.ini" AREA2 $right(%area,-1) $4- !writeini " $+ $mta.dir $+ mta.data.ini" AREA3 $right(%area,-1) $4- } !unset %area mta.say $1 Area saved as " $+ $4-" } if (!a == $3) mta.say $1 $mta.area($1,$2) }
-
What you mean? Max allowed ping u can change in following line: if ($mta.ping($1,%a) >= 300) { Just replace the '300' number with anything you want
-
i think he was on about mtama scripts.. (there is a mta.ini in mtama too) But you need to write scripts not in the mta.ini file tho
-
on *:SIGNAL:mta.command: { if ($3 == !alarm) { if ($4 == on) { mta.say $1 Alarm Activated !writeini " $+ $scriptdir $+ alarm.ini" alarm alarm on } elseif ($4 == off) { mta.say $1 Alarm Deactivated !remini " $+ $scriptdir $+ alarm.ini" alarm alarm } } } on *:SIGNAL:mta.exit { if ($readini($scriptdir $+ alarm.ini,alarm,alarm) == on) .timer 5 0 mta.slap $1 $2 }
-
are you sure about that? Hm, yeah I only suggested though, i read the forum every day and i've seen lots of people asking here to release a beta for public.. Just getting bored explaining that it won't be out for public untill it's fully done. However that's admin's/moderator's right to choose, close the topic or not.
-
LMFAO just noticed that, hahahaha funny one
