Jump to content

robhol

Retired Staff
  • Posts

    2,120
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by robhol

  1. I'm not sure if I got you there, but in case you meant "what is the difference", it's nothing: it's just a name. In lua, as with most programming/scripting languages, the names are not important for a function's prototype, but the order is. The addCommandHandler assumes a certain layout for handling functions, like so: function thisIsAHandlerFunction(source,command,argument1,argument2, ...) if you wanted to write function thisIsAHandlerFunction(thef_ckerwhoenteredthecommand,command,argument1,argument2, ...) instead, you could.
  2. addCommandHandler("test", function (source) outputChatBox("TEST!", source); end ) -- OR! function TestCommand(source) outputChatBox("TEST!", source); end addCommandHandler("test", TestCommand);
  3. I wonder if that's really true anymore? Anyways, I've been a faithful Opera user for years, and will recommend it anytime: http://opera.com/
  4. Make a function named vehicleLockHandler(source) or something. In it, use getPlayerOccupiedVehicle(source) (source is the player) to get the player.then do something like setVehicleLocked(car, not isVehicleLocked(car)) inside the function. Then use bindKey to bind the function to the K.
  5. Until said serial system gets cracked... and unfortunately, it'll probably happen quite quickly. People really should have better stuff to do than let 11yo cheaters rampage at random through servers filled with admins who desperately try to keep the phuckers out and maintain some order. But they don't. But that's the way it is.
  6. Apparently the function doesn't exist. Check for typos. Which version are you using? DP2.*? Nightly?
  7. Why do people still play race? I mean there is race gamemodes on DM so whats the prob? Haven't played MTA Race, but the DM one seems to be buggier and have more lag. Besides if you don't want to do anything but racing, why getting something that also has got DM while you can get one dedicated to race? Because race is outdated and unsupported?
  8. I want, via PHP, to be able to download/read the progress bar from the roadmap... I thought it'd be as simple as get_file_contents() or something basic, but.. all I get when opening the page is the header and footer. There's a form on there designed to let an user pick a project to see the roadmap for, but querying that with cURL to get the relevant project only returns "1"... Does anybody know what the heck I can do to get that page? I only need the number (in percent) inside the bar, but I can filter that out myself, I just need to be able to download the correct page first.
  9. I can only tell you to post a ban appeal at the CORRECT forums - mine. (Official SFDM forums, these forums have nothing to do with game servers, just MTA in itself.) http://mta.robhol.net And I'll let Lloyd decide for himself. I'm not getting involved.
  10. Wow, your first idea I didn't scoff at! Would certainly be useful, if someone's willing to code it, and no less importantly, watch what's being sent in.
  11. robhol

    a mod of mta?

    You're officially an idiot. Not only for bumping a three year old thread, but actually asking how to cheat in an official forum? Rofl.
  12. It can probably be done client-side, but not remotely and not on a per-server basis. In other word the only one who'd see it is you.
  13. You don't need one. Go HERE, download the exe, setup, and rock'n'roll. You might wanna take a quick look in the settings menu (from the main menu) before you play, and change your nick, etc... nothing's more annoying than lots of "Player"s who're messing up each others stats and then blaming me.
  14. The correct answer was: Go into MTASERVER.CONF and change the tag to 0. Then go into the Admin resource (unzip if needed), locate the server\admin_server.lua file and comment out all kickPlayer lines with "Invalid serial" in the reason.
  15. While lag is one thing, desync is another, and it hasn't always got anything at all to do with bandwidth... until 1.0 is out, don't expect too much.
  16. robhol

    Talk Button Mest up?

    Does that happen on one or all servers? Which version are you using? What the f00k does this have to do in General MTA Discussion?
  17. Your computers do not have the same IP (inside the LAN. to the internet, they do.) Edit: bleh, wasn't thinking. Here's what you do. Get the IP of the server machine (run the command IPCONFIG) and put that IP into the Quick conenct-box of the client.
  18. The resource download system is kinda sh1tty, since it only waits for 5 secs before abandoning the download. A larger timeout limit would help a lot.
  19. As lol_Toady said another place, 1.0 is just a name change, and it is likely that would-be-DP3 will now actually get out sooner, because anyone can contribute. Keep an eye at bugs.mtasa.com like I do.
  20. Lua is not going to be replaced eh. If you want some other scripting language you can easily do a 3rd party module for that. Always could. I know at least two done, one works with AMX (PAWNO), second with PHP AMX is the compiled form of Pawn, which may be written with Pawno, which is just an editor, (of many,) and not the name of the language.
  21. I don't really know enough C++ to be able to help with the sources, and I don't have time to learn, too much other stuff to learn atm. I wish I did, though. By the way, MTA can't get paid since they "only" mod an existing game. At least that's what a dev told me.
  22. I'm guessing the votemanager does not take resources that already are running, into account. Drop the freeroam from the startup list, and see if that helps. When usng the command, you should make sure to stop the old gamemode first.
×
×
  • Create New...