-
Posts
976 -
Joined
-
Last visited
Everything posted by Scooby
-
well i dont really wanna fix that for u, sorry, it looks terrible u have the right idea, but as it stands, it has many things u dont check for. ie: if some1 holds the 8th best time then they set a new time which is 3rd best, ur script wont let them take the place coz they already hold 8th and i dont see u crosschecking. u only check the names. also, u need to compare names and times, in case a player has the best time, then improves on it. ur script wont let this happen. all in all its a mess. i told u how to start.. try getting it to work with top 3 times, once u can do that, add a few more, and so on. i dont think anyone could fix that for u, half is missing. im sure it could be rewritten faster than fixing.
-
u say the instructions are already in the file? and ur sure this is the right location? $readini($scriptdir $+ instructions.ini,MOD,$replace($mta.races($1,$2),$chr(32),)) (looks wrong to me but im just guessing) if so, use this: on *:SIGNAL:mta.startrace:{ mta.text $1 $iif($readini($scriptdir $+ instructions.ini,MOD,$replace($mta.races($1,$2),$chr(32),)) == $null,No Details Stored,Current Map: $mta.race($1) - Moderated by: $v1) }
-
if u have no idea what ur doing, why dont u start with something easy, like top 3 times, then once u get that working, go to top 5, and so on. i wouldnt fix this, coz it'd be quicker to make it from scratch.
-
and nobody get it work funny thing is... they work for me... ever thought u dont know what ur doing?
-
isnt it !constant i dont use the script so...
-
so much hassle for a useless little thing here: elseif ($3 == !lol) { var %a = $iif((!$4),$2,$iif(($mta.getid($1,$+(*,$4,*)) == $null),$2,$v1)) mta.text $1 $mta.nick($1,$2) Is Laughing Out Loud $iif(%a != $2,At $mta.nick($1,%a)) } ive left my var %a line in the command so it wont interfere with the one u already use.
-
Dont u use GUS? If so, its already added.
-
u mean restart it once it ends? if so then yeah theres a few ways u can do this.
-
u mean mta.text and u know what i mean, even if u use that u still dont know which timers ur stopping. some of the timers may also be mta.text timers, but not timers for ur auto messages. we could go on forever here... /me slaps toady... u know naming them is the best option.
-
i can meet u in the gtamp server where the script is running. if u join the server (its in the server list shows as a 40 man server) i'll join u and show u the mode.
-
thats because some of the code u used is for mtavc not mtasa try this:
-
well at the times i get to write scripts im usually all out of people to help test it, doing deaths per minute was the only thing i didnt do like u said, instead i did it on the time left to the end of the map. that way if theres 2 players and u both died 2 times, both in the same minute, ur way would give them the same points making it a draw. my way detucts the seconds left from their staring score each time they die, so unless they both died in the exact same second, its impossible for them to get a tie.
-
no vars are needed. ive just tested the script and it works fine for me.
-
I havent played any of the GTA games in SP. (well around an hour b4 i got bored) MTA is what makes them good for me. i have almost every console going, but the lack of interaction always brings me back to my pc coz playing any game alone can be boring.
-
well this way seemed better, coz ur way ur more likely to get people tieing. its almost impossible to tie now only if u dont die. yeah its possible to do it the way u asked. (feel free to change it urself). u asked for a respawnable deathmatch/wave deathmatch mode which is what ive done points are awarded for the 1st, 2nd and 3rd. (yes they are the same as the points in the races)
-
well u must have made an error somewhere, urs looks like this? elseif ($3 == !addcreator) && ($gus.level($1,$2) > 2) { if (!$4) mta.pm $1 $2 Error: Specify Details. else { !writeini -n auth.ini details $replace($mta.race($1),$chr(32),$chr(45)) $4- mta.pm $1 $2 Details Saved. } } elseif ($3 == !remcreator) && ($gus.level($1,$2) > 2) { !remini -n auth.ini details $replace($mta.race($1),$chr(32),$chr(45)) mta.pm $1 $2 Details Removed. } elseif (!creator* iswm $3) mta.text $1 $iif($readini(auth.ini,details,$replace($mta.race($1),$chr(32),$chr(45))) == $null,No Details Saved,Details: $v1)
-
yes, it checks to see if u added a valid name, Eg: !hi dave if dave is in the server it would return the text and the name dave says Hi dave if dave is not there it would just show the text. says Hi
-
post what u have in ur script so we can see what u actually added. (just the lines u added)
-
OK, ive made it, its in testing at the moment and seems to be working nicely, ive also added some other bits and bobs so i need to test it a little more before i upload it. ive done the scoring on 'times', each time u die, the remainding map duration is deducted from a score that u start with, at the end points are given out. this way if 2 people die only 1 time, the one who died last will have a better score, the score is irrelevant, just a way of knowing who is winning, points are given at the end like in a normal race. the only thing i cant stop is if more than 1 player doesnt die at all, coz they will all get maximum score, so the script will award 1st to the first ID number it comes to, 2nd to the Second, and so on. if its a decent map tho, i doubt this'll happen. people who join after the map has started, start with a lower score than those who start at the beginning, so late joiners wont automatically get a better score coz they died less.
-
But there is no way to know which unnamed timers are for ur auto messages and which are for other stuff. its up to u.. dont name them if u dont want to.
-
Sure, but i dont think theres a way to stop individual unnamed timers. coz as it was b4, everytime u connect, a new timer is started, the old one didnt get stopped. so u would end up with tons of timers running and eventually loads of messages. Yeah there is a way to stop unnamed timers but it's a bit complicated. Every timer has it's own id, so you'll have to do a loop and check what every timer does and stop the needed one. theres no way to know how many unnamed timers there are tho, so ud just have to do a while loop up to some random amount and hope that u got them all, while in the processs of not stopping any other timers. if u name them then u dont have all this trouble.
-
well u can add any details u like. its up to u.
-
i dont allow people with under 2 chars in my server, on join/nickchange if ($len($mta.nick($1,$2)) < 2) { mta.pm $1 $2 WARNING - INVALID NICKNAME! .timer 1 5 mta.kick $1 $2 }
-
if u remove this part out of the updater: on *:SIGNAL:mta.racelist:{ mta.races.check $1 } alias mta.races.check { var %a = $ini($mta.dir $+ $1.ini,Races,$ini($mta.dir $+ $1.ini,Races,0)) if (%a > $ini($mta.dir $+ $1.ini,Races,0)) mta.races.update $1 } this should stop it auto updating. u will then have to manually do it with !updateraces
