Harry Posted August 10, 2004 Share Posted August 10, 2004 All data of the weapons is in your MTAMA dir, in mta.data.ini Link to comment
Shib Posted August 11, 2004 Share Posted August 11, 2004 Ok due to the scripts archive being down i thought i would post it here. I made a script that admins can recruit by a command. Here it is: if ($3 == !recruit && %isadmin. [ $+ [ $1 ] $+ . $+ [ $2 ] ]) { if ($4 != $null) { !set %recruit [ $+ [ $4 ] ] = true mta.msg $1 $4 Our Admins wish to invite you to join the clan! - Please say !yes or !no. } else { mta.msg $1 $2 Usage : !recruit } } elseif ($3 == !yes && %recruit [ $+ [ $2 ] ]) { mta.msg $1 $2 Please contact within 2 days! !unset %recruit [ $+ [ $2 ] ] } elseif ($3 == !no && %recruit [ $+ [ $2 ] ]) { mta.msg $1 $2 Ok no problem, if you change your mind contact an admin. Enjoy your stay! !unset %recruit [ $+ [ $2 ] ] } elseif ($3 == !off %isadmin. [ $+ [ $1 ] $+ . $+ [ $2 ] ]) { !unset %recruit [ $+ [ * ] ] mta.msg $1 $2 Recruitment unset. } } Link to comment
Harry Posted August 11, 2004 Share Posted August 11, 2004 mta.msg $1 $2 Usage : !recruit Dan, I thought you might be a better scripter after these few weeks. Anything that is ID driven has to be unset when that ID parts. Just for your consideration. Link to comment
Shib Posted August 11, 2004 Share Posted August 11, 2004 Harry m8 ive been away for 3 weeks so i didnt know about mtama 3 til a couple of days ago. Plus i lost a bit of my knowledge of scriptingwhile i was away coz i formatted my comp and had no scripts. Link to comment
Harry Posted August 11, 2004 Share Posted August 11, 2004 It's just extra info, so you can make even better scripts. Link to comment
*SmartiE* Posted August 12, 2004 Share Posted August 12, 2004 on the http://www.mtascripts.com site i have posted a stubby war script for all who want it Link to comment
fastphp Posted August 13, 2004 Share Posted August 13, 2004 Hi all Has someone a !weapon script for me, i have wrote my ow script but thats not work thanks, Michael Link to comment
*SmartiE* Posted August 13, 2004 Share Posted August 13, 2004 I dont Tend To use that but having a Bash at it i would say if (!weapon == $3) { if ($4 != $null) { mta.msg $1 $2 $mta.name($1,$2) You Have a $mta.weapon($1,$2) } else { mta.msg $1 $2 $mta.name($1,$4) Has a $mta.weapon($1,$4) Link to comment
Oli Posted August 13, 2004 Share Posted August 13, 2004 god i wish u ppl could read. that wont work Link to comment
MrJax Posted August 13, 2004 Share Posted August 13, 2004 LOL, $mta.weapon is for showin weapon name of weapon id, nuthin else, u cannot use it for showin a players weapon....... Link to comment
Shib Posted August 13, 2004 Share Posted August 13, 2004 It's kinda impossible to get the weapon that someone is usin, but i dunno. Link to comment
Oli Posted August 13, 2004 Share Posted August 13, 2004 actually, its possible, just mtama cant do it atm. admin+ does send that info Link to comment
Harry Posted August 14, 2004 Share Posted August 14, 2004 I wonder whether it is possible to read out these values reliable, without 100% CPU usage. Every change of weapon is a event in mirc at that moment, or you have to use polling. Both methods are CPU-expensive. I guess it is not doable to program these variables into MTA:MA It is up to Aeron to implement en test if it's usable, I certainly doubt it. Link to comment
Oli Posted August 14, 2004 Share Posted August 14, 2004 i would say use of events to do it would be the best way with irc, but with the number of ppl and the number of events needed it would be crazy. I dont see it happening to be honest, irc is just too resticting BUT maybe aeron could put it directly into the dll, THEN maybe it would work Link to comment
MrJax Posted August 14, 2004 Share Posted August 14, 2004 it shows up in that bitch ass bot, cudnt u do it the same way? Link to comment
Aeron Posted August 14, 2004 Share Posted August 14, 2004 it shows up in that bitch ass bot, cudnt u do it the same way? No, the data the admin+ recieves are: ID CarID Health X Y Z Nothing more so no: Rotation Weapon switch And other things like: Spawning Crc check Link to comment
MrJax Posted August 14, 2004 Share Posted August 14, 2004 well aparantly uve just done spawnin??? Link to comment
Harry Posted August 15, 2004 Share Posted August 15, 2004 Spawning will be included in the next version of MTA:MA (correct me if i'm wrong) Link to comment
Si|ent Posted August 15, 2004 Author Share Posted August 15, 2004 Career chosen can be identified in mtama, by checking the coords of a player that just died and matching them against a list of careers spawn areas. Pretty CPU intensive tho especially if you have a lot of other scripts running alongside. Something to consider for future admin+ connections maybe. Link to comment
Lips106 Posted August 16, 2004 Share Posted August 16, 2004 Hi guys, I have an idea for an MTA:MA script, but I'm not sure if it can be done. Basically, the when some gets 10 consecutive kills without dying, the console says " is on a killing spree!" and 20 would be something like " is unstoppable!". It could also be for deaths, for example when someone dies 3 times without making a kill, it would say, " has died 3 times since their last kill....Poor!". If a player kills someone who was on a killing spree, it would say, " has stopped 's killing spree>". This is just a basic idea, but it could be worked on. Sorry if someone has already posted this. Thanks for reading, Lips Link to comment
Oli Posted August 16, 2004 Share Posted August 16, 2004 yeah thats pretty simple, ill post it up for u tomorrow when ive got some time unless someone else does it before then Link to comment
tbot Posted August 16, 2004 Share Posted August 16, 2004 Someone has been playing UT Never thought about implementing it for MTA though, nice idea Link to comment
Lips106 Posted August 16, 2004 Share Posted August 16, 2004 Hehe thanks I just thought it would be a nice touch to a server, and you get to rub it in when you stop someone's killing spree . Link to comment
Cube Posted August 18, 2004 Share Posted August 18, 2004 Hi all, try this !! hehehe (i know that my english is bed in this scripts and generally, but i translate text this script on english that you know how this work lol ) if ($3 == !xp) && (RP isin $mta.name($1,$2)) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 != $null) { if ($mta.name($1,$4) == unknown) { mta.say $1 Procedure stop, reason: shortage require informations, error absent ID: $4 ! } else { mta.say $1 Collection informations is running: 1. Search host: $mta.dns($1,%b) .timer 1 2 mta.say $1 2. Collection IP adress: .timer 1 3 mta.say $1 $mta.name($1,$4): $mta.ip($1,$4). .timer 1 5 mta.say $1 3. Cracking access code: .timer 1 6 mta.say $1 BZYA-986Y-K6Z4-OAN7 failed. .timer 1 6 mta.say $1 YSAA-9867-KHGH-O321 failed. .timer 1 6 mta.say $1 EWOA-9W43-3411-MK8L failed. .timer 1 6 mta.say $1 MUSD-986Y-ZM59-82TA failed. .timer 1 6 mta.say $1 BZYA-9832-K6Z4-TAU3 failed. .timer 1 7 mta.say $1 JOSG-6666-6MAH-3545 failed. .timer 1 7 mta.say $1 MAID-7777-SDFG-I0P4 failed. .timer 1 7 mta.say $1 LQOA-1239-AJHH-QWE3 failed. .timer 1 7 mta.say $1 ILUG-7664-QWEA-HJK5 failed. .timer 1 7 mta.say $1 TDCS-5379-A4MN-76GD failed. .timer 1 8 mta.say $1 ASDF-0980-2SYB-7WMN failed. .timer 1 8 mta.say $1 UHLJ-5689-MA7D-62DN failed. .timer 1 8 mta.say $1 MUAH-2342-8ASM-MA5D failed. .timer 1 8 mta.say $1 XPPS-MUAH-PRW3-84T7 ok. .timer 1 10 mta.say $1 ******** failed. .timer 1 11 mta.say $1 ************ ok. .timer 1 13 mta.say $1 Collection informations complete ! .timer 1 15 mta.say $1 Delete date from XP system $mta.name($1,$4) is launch ! .timer 1 16 mta.say $1 [-||----] 25% .timer 1 17 mta.say $1 [-||||---] 50% .timer 1 18 mta.say $1 [-||||||--] 75% .timer 1 19 mta.say $1 [-||||||||-] 100% .timer 1 21 mta.say $1 Procedure has been complited ($time $date) ! .timer 1 23 mta.say $1 $mta.name($1,$4) your computer won't work for: .timer 1 24 mta.say $1 3 .timer 1 25 mta.say $1 2 .timer 1 26 mta.say $1 1 .timer 1 28 mta.say $1 JOKE !!! hahahahahahahahaha ! } } else { mta.say $1 Error - absent ID, and system receive require informations to start procedure ! } } heheh 80% ppl who "get" this procedure, escape from server before script ending work... heheheh one can change .timer 1 28 mta.say $1 JOKE !!! hahahahahahahahaha ! on .timer 1 28 mta.say $1 mta.kick $1 $4 lol Link to comment
DeeJee.nl Posted August 30, 2004 Share Posted August 30, 2004 Okay the idea.. let members logg ip's off suspected cheates in a ini file.. so that a admin can check it later on and take action. Ive come this far: elseif (($3 == !suspect) && (%ismember. [ $+ [ $1 ] $+ . $+ [ $2 ] ] == true)) { writeini "mtasuspect.ini" suspect $mta.name($1,$2) + $mta.name($1,$4) $+ 's ip: $mta.ip($1,$4) $4- mta.say $1 $mta.name($1,$4) $+ 's ip: $mta.ip($1,$4) is noted as a suspected cheater. } it works but it overwrites it when they logg a next suspect later on... and I don't know how to make it so that it returns an error when they don't give a id or/and reason any idea's would be handy greetz Link to comment
Recommended Posts