Jump to content

MrJax

Retired Staff
  • Posts

    1,078
  • Joined

  • Last visited

Everything posted by MrJax

  1. MrJax

    MTA:MA Scripting

    No, they're not.. although, if you think about it logically, it's only gonna get out of the while loop, and to the else if it isn't true anymore, so it's not even needed. You need to understand how programs work, they're all constant loops, once it's finished running the code, it'l go over it all again.. so mirc will read through the script, then it has to do its own stuff and loop over and over. Basically, that while loop you have there is going to freeze mirc until that statement isn't true, you'll need to check it with a timer or something.
  2. MrJax

    MTA:MA Scripting

    You'd need a good way of checking if they're still in it, calling mta.area frequently for all the players in a busy server get's very cpu hogging. Then once they're there, save the time (i'd use $ticks, which returns the ammount of miliseconds since system startup), and compare with the current ticks, to see how long they've been there.
  3. MrJax

    !giveme bot

    Anything's possible! There're a few bots for mta, and not everyone who makes them cheat, but they do break mta's eula.. so no one is going to help you with one here. Oh, and they aren't all in vb either, most are because its a really common low-end language.
  4. Just uses start, end and finish race events to figure out where they came You could stick those message lines into a text file then read the line number of $rand(1,$lines(txt.txt)) Oh, and the array thing you're using is still wrong, you're storing: key: warned - value: 1.0 1 instead of: key: warned1.0 - value: 1 You need to use it like i said: %warned [ $+ [ ] $+ . $+ [ ] ]
  5. It's mine and oli's, and we say.. use another
  6. Look at the difference between the 2, all the lines starting with '#' are comments (just there to help you) the actual key and value is the bottom line of each, which you've commented. Incase you're brain can't comprehend that.. Change "#Admin jackoman theman 5" to "Admin jackoman theman 5"
  7. MrJax

    crack scripts ?

    The only trouble with trying to make a CRC check for a script, is that you'll need to be fluent in the language you're gonna make the DLL with.. because if there isn't a significant part of the script inside the DLL, people can very simply remove the call to the it (and rewrite the small part that was inside it). But if you're already good with the language, you may aswell write the whole thing with it.
  8. Kinda yeah, i'm talking about the camera though.. it's been the same for all GTA games.
  9. Looks really good Just wondering if you've added anything to fix the bug where if you don't look at an actor shooting you (say you're facing the other way), the bullets won't go exactly where they're supposedly shooting..
  10. MrJax

    random isnt randoming well

    There's nothing you can do to get complete randomness in programming, programs follow code, nothing more. Even a great algorithm is going to be repetitive.
  11. North, you can do that with any released version of MTA, sure.. scripting it isn't as neat as having it hardcoded and it'd only be for your own server, but its still possible I think just being given access to the server with a great tool like mirc is plenty, you can do almost anything yourself.
  12. MrJax

    mta sa server

    You can easily script it.
  13. MrJax

    MTA 0.5.1

    http://www.mtavc.com/forum/viewtopic.php?t=16327
  14. MrJax

    Mod shop

    I doubt they'd leave it out, it should be pretty easy for them
  15. MrJax

    Tag Detector?

    ;IP Admin Confirm if (-]alw[-* iswm $mta.nick($1,$2)) { if ($readini(GEMTAusers.ini,$mta.nick($1,$2),admin) >= 1) { if ($readini(GEMTAusers.ini,$mta.nick($1,$2),baseip) == $gettok($mta.ip($1,$2),1-2,46)) { mta.pm $1 $2 Admin IP Validated } else { mta.pm $1 $2 $mta.nick($1,$2) - Invalid Admin IP Match! You have 10 seconds to login... $+(!.timerkick,$1,.,$2) 1 10 mta.kick $1 $2 } } } }
  16. Actually that's pretty much the same as the one you had before, just setting the one variable to a more useless value. You can make it look like an array however you want, but mirc allows the use of [ ] brackets, for people who're used to them. %wanted [ $+ [ ] ] %wanted [ $+ [ ] $+ . $+ [ ] ] ...was wrong before, not used mirc much for a long time
  17. Replace all the %a's with $2's, mta.mute uses serverID and playerID, not name. Apart from that it's not bad, except only 1 person can be warned, and it only checks the 1st word. Array: on *:SIGNAL:mta.text:{ if (badword isin $3-) || (badword isin $3-) || (badword isin $3-) || (badword isin $3-) { if (%warned [ $+([ $1 ],.,[ $2 ]) ] == 1) { mta.text $1 A warning was set. You are muted for 10 seconds ! mta.mute $1 $2 !.timer 1 10 mta.unmute $1 $2 !.timer 1 10 set %warned [ $+([ $1 ],.,[ $2 ]) ] 0 } else { mta.text $1 Dont use bad language ! A warning is set. set %warned [ $+([ $1 ],.,[ $2 ]) ] 1 } } }
  18. It's nothing to do with implementing, it's already in the game. I guess a server-sided option would be ok, but i really doubt they care about something so trivial this early.
  19. It's not any more 'sync work' atall, the lock-on moves your camera just as you do when manually aiming.. but i do agree, it would be a stupid thing to include in multiplayer.
  20. By reading what you've said here and on the rumble forum, it looks like you've downloaded some multiplayer mod called Bounce and you're trying to develop it further or add cars You should ask whoever made it for the source, you can't just open DLL files and edit things, they need to be built with a compiler, and you need the source to do that. You can always add cars through the game's scripting language, SCM, there's plenty of info on GTAForums for that.
  21. Our mod, our server, our rules, we can do what we like..
  22. If you created it yourself, you would know how to 'open' the files There're plenty of people around the GTA community that are willing to help, you're better off finding a solution on GTAForums.
  23. It's a script in mirc that uses its own socket functions to connect to the server, its a text-based admin script.
  24. You know what? If you knew how to make it shorter (and faster for mirc to read), wouldn't it of taken less time?
×
×
  • Create New...