Jump to content

Gamesnert

MTA Contributors
  • Posts

    2,035
  • Joined

  • Last visited

Everything posted by Gamesnert

  1. Gamesnert

    Sounds

    Make sure you have marked this script as a client-side script. Also, make sure this is in your meta.xml:
  2. You shouldn't try to search on Google for MTA scripting related stuff... https://wiki.multitheftauto.com/index.php?title=Settings_system
  3. Of course you can have both. Robhol means that improving synch and adding several other features just have a lot more priority at this moment I guess.
  4. It can't be that the server edits the file again while it's turned off. The server doesn't edit this on startup either. So you're just still editing with the server being on.
  5. Something has to hit it iirc. Do something cool like spawning an invisible dozer on top of it, that should make it roll.
  6. I guess that should be of help.
  7. I hope it'll be back up soon, community accounts can really be important for banning people and for certain stuff to make your scripts easier to use. (i.e. an automatic account system)
  8. Save it AFTER the server has been turned off. OR, edit it, go in-game, open the admin panel, click the bar where it says "ADVANCED USERS ONLY..." blah blah, type in "aclReload()" and press the "Server" button. You should now see a blue output in your chat saying if it was successful or not. Easy way or harder way, pick your favorite.
  9. This is something I'd like to see, being able to see if players are online and chatting etc with em cross-server. (and even better, no more /msg [name] [message] ) Perhaps using community usernames? (when available again, that is)
  10. Because the handling functions don't work... Wasn't helpful?
  11. Fill in the ports you've used. These are by default: 22003 UDP 22005 TCP 22126 UDP
  12. Oops... hehe... D: I fear I'm kinda used to almost always setting that to false by now. Edited my example.
  13. After using setPlayerMoney or givePlayerMoney, try this: setElementData(***,"Money",tostring(getPlayerMoney(***))) NOTE: Replace *** with the player element. So for instance: function giveMeMoney(player) givePlayerMoney(player,500) -- Give money to the player, $500 for instance setElementData(player,"Money",getPlayerMoney(player)) -- Set the player's "Money" data to his current money amount. This will automatically update the scoreboard column outputChatBox("You have been given $500",player,0,255,0) -- Output a message, for pointlessness' sake end addCommandHandler("gimmemoney",giveMeMoney)
  14. Make sure you only set your skin to ID 192 AFTER it's replaced. If I remember correctly, it didn't work on skins currently in use.
  15. Gamesnert

    Animation

    Eh, calling a function "stopAnimation" and not even ending it will only give you errors. You can cancel animations with setPedAnimation. Read the text on the top of the page.
  16. Gamesnert

    MTA

    Wth? lol https://wiki.multitheftauto.com/index.php?title=K ... ash_screen I guess this is what you mean... Otherwise, could you please be a bit more clear? I have difficulty understanding your 2 lines... lol
  17. Gamesnert

    Animation

    setPedLookAt (client-side only)
  18. Use "/debugscript 3" when you're on your server, You would have seen an error if you would have done that. Problem is that you're trying to index tables which don't exist. These don't exist: - authTab - regLabel - regEdit - regButton - logLabel - logEdit - logCheckbox - logButton - recLabel - recEdit - recButton And that's with only checking your createAuthWindow function. I'd advice you to either merge this all into 1 table. But otherwise, do something like this: authTab={} regLabel={} ... ... P.S. This should actually be in Scripting section.
  19. I guess someone would have to make an EDF for it. Although I can imagine the editor needs some editing to be compatible with creating water.
  20. And we're just making clear the idea is just not practical. That's all.
  21. You can name those variables anything you like. So if you call it "cmd", "command" or "cheese", it'll all contain the same thing. The second (note, THIS is what matters: the order, not the name ) argument of a command handler always contains the command entered. I.e. Player entered /boo a b First argument: player [element] Second argument: boo [string] Third argument: a [string] Fourth argument: b [string] Hope that clears it up a bit EDIT: Robhol beat me to it, but if I compare the 2 posts I personally think mine is a bit more easy to understand.
  22. My thought is that it doesn't make any sense, really. Why would you want MTA on an XBox if I may ask? Auto-aim would kind of ruin the point of aiming and it's kind of hard to chat with having only a controller or a controller+keyboard. (if you're only using a keyboard, you might as well use the PC anyway) Not even to mention scripting would be a lot harder, and can you actually mod games on consoles?
  23. Wireless overall is a bit less stable than with wire. You can always try it by wire, if possible, to see if that solves most of the issues.
  24. I guess he means, like the GUI editor, that you can draw things on the screen. Just so you don't have to guess coordinates for drawing DX things. In case I'm right, no. There isn't one yet, but I might make it sometime soon.
×
×
  • Create New...