-
Posts
2,318 -
Joined
-
Last visited
Everything posted by lil Toady
-
$+ makes 2 words merge. 'hello $+ world' will return 'helloworld' Why do we need that? cause if we do $mta.name($1,$2)! it will not work, if we want to merge an alias with some text we use $+ And uh, the code doesn't work? Have you pasted it into some script? What's your mta:ma version and is it connected? Scripts enabled? Remember, you can not have to same signals in one script, so if you had 'on *:SIGNAL:mta.join:{' line in the script you pasted the code to it will not work
-
on *:SIGNAL:mta.join:{ mta.pm $1 $2 Welcome $mta.nick($1,$2) $+ ! }
-
register a new account, ask an admin to unregister your current one shh, norby89, you want all the posts to be gone?! Well sanzor, ask a mod probably?
-
Like we are 'holding this up' on purpose... We want to release it as much as you
-
Lil'San^,^u<3, you lie, you have a mistake in your script so it can't work.. that's an individual message that will be said only when you join: on *:SIGNAL:mta.join:{ if ($mta.nick($1,$2) == chrislabricole) mta.text $1 Welcome $mta.nick($1,$2) $+ , the boss! } And this is when anybody joins but will put the nick of the joined player in the message: [code]on *:SIGNAL:mta.join:{ mta.text $1 Welcome $mta.nick($1,$2) $+ ! } [/code] $1 - Server ID the player joined. $2 - Player ID So $mta.nick($1,$2) - the nick of the joined player.
-
You have no clue what all the process takes, a bunch of unorganised player's will not help anyhow. And we have no problem bug researching
-
No wonder alias slr.starting { var %a = 0 while (%a <= $mta.server($1).cmax) { !writeini ad.ini ad $mta.nick($1,%a) Alive } !inc %a } including %a after the loop ^ should be: alias slr.starting { var %a = 0 while (%a <= $mta.server($1).cmax) { !writeini ad.ini ad $mta.nick($1,%a) Alive !inc %a } } then alias mta.end { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($readini(ad.ini,ad,$mta.nick($1,%a) == Alive)) { if ($mta.nick($1,%a) != $null) { mta.text $1 $mta.race($1) $+ : The Last Man Standing Is $mta.nick($1,%a) $+ ! !remini ad.ini tot !remini ad.ini ad !writeini -n stats.ini WINS $mta.nick($1,%a) $calc($readini(stats.ini,WINS,$mta.nick($1,%a)) + 1) !halt } !inc %a } } } here, it wont inc %a if player is dead, so: alias mta.end { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($readini(ad.ini,ad,$mta.nick($1,%a) == Alive)) { if ($mta.nick($1,%a) != $null) { mta.text $1 $mta.race($1) $+ : The Last Man Standing Is $mta.nick($1,%a) $+ ! !remini ad.ini tot !remini ad.ini ad !writeini -n stats.ini WINS $mta.nick($1,%a) $calc($readini(stats.ini,WINS,$mta.nick($1,%a)) + 1) !halt } } !inc %a } }
-
Just to make sure: yes it's possible to make the shield brake
-
When GTA:SA was released i havent left the mta0.x scene. And uh, gta3? People still play VC. And MTA Core allows you sooo many things that you can make a parody for any game right in MTA, that's sometimes like playing a different game all the time, never gets booring
-
GTA IV is released next year
-
well lots of things i see to be improved yet but it looks very nice for a first go
-
zanoza modeller, 3ds max
-
on *:SIGNAL:mta.startrace: { var %a = 0 !remove " $+ $scriptdir $+ players.ini" while (%a <= $mta.server($1).cmax) { if ($mta.nick($1,%a)) { !writeini " $+ $scriptdir $+ players.ini" players %a $mta.nick($1,%a) } !inc %a } }
-
i have noticed a line on connect set %MaxPlayers $mta.server($1).cmax Defining one global variable like this can make the script bug if it's used on a few servers, better get rid of it and use $mta.server($1).cmax
-
im more than sure he is talking about mta0.5 on *:SIGNAL:mta.command:{ if ($3 == !players) var %a = 0,%b while (%a <= $mta.maxplayers($1)) { if ($mta.status($1,%a) == 2) %b = $iif(!%b,$mta.name($1,%a),%b $+ $chr(44) $mta.name($1,%a)) !inc %a } mta.say $1 $iif(%b,Players in game: %b,There are no Players In Game) } }
-
Yes, and you can make them too and put in game with mta so everybody will see them
-
The shield has been made with mta scripting system + a custom object. It's not hardcoded and you can do anything you like with it
-
How to get MTA:SA Client running on Vista!
lil Toady replied to Ring_of_Fire's topic in DM Client-side
cool, you remove the Race mode module and call it the solution (race wont work without it). That's the same as i say that solution is to uninstall your mta -
how is that a solution if you remove one of the main mta files and it won't let you player without it
-
don't thing they'll be releasing it in such a random time, more like 7:00 or 8:00
-
yes, alt tabbing is blocked for a reason, the game stops when it's minimized so you can either lose packets, desync, pause(0.5 players know how annoying this is) etc. etc. So not to have any problems alt+tabbing has been blocked. And as the game stops i don't think it would be possible to make some sort of signal to tell you the new round starts or even put you back in game automaticly
-
By the way i have some thoughts of an anticheat that can detect following things: health hacks (any kind of those very accurate, already tested before) teleportation speed hax (not very accurate, but still) stubby glitch m4/rudger run-and-shoot glitch nades/mollies glitch armour detector vehicle cheats (like repair cheat) etc. But i lack in time recently so if anybody is interested and knows c++ contact me This would be not possible in mirc Pity that all became possible to me when 0.5 died and i don't have that much time as before i blame Jax! he should have brought me into c++ earlier ;P
-
Well you don't need any 3rd party programs to script in lua, you don't need to compile it and it's very simple. Also in MTA case it has a way more scripting functions to control the game. But uh, that's MTA! You will be able to load a pawn interpriter module and run pawn scripts. Less abbilities though
-
WTH is that and what does it have to do to General MTA discussion section?
-
Full version of Multi Theft Auto : Lua Admin. Download: http://files.mtasa.com/apps/tools/MTALA_1.0RC1.zip Scripting: http://mta-stats.com/downloads/mtala-scripting.html All the lua libraries are loaded, and all the native and custom functions kinda work. The thing is pretty fast and has lots of abilities you could never perform in MTA:mA But on the first place I made it so you can learn the Lua scripting for the MTASA:DM release. The package includes my test script. If you have any problems or suggestions post here. Thnx to Kevuwk who showed me how lua works
