Jump to content

csiguusz

Members
  • Posts

    500
  • Joined

  • Last visited

Everything posted by csiguusz

  1. Try http://www.techpowerup.com/gpuz/ maybe it can say you what is you vga
  2. Strange... even mtadiag can not recognize your VGA nor your monitor
  3. Use getPedOccupiedVehicle to get a ped's (for example the local player's) vehicle.
  4. Try installing the VGA driver.
  5. Car hide? If you can't find a resource for it then make your own try setElementAlpha
  6. Thanks, I will rememer this. I'm not sure, but I think it was working good in the old Editor, but i can't test it becouse for some reason it can't find the MTA resources folder, so it doesn't start.
  7. Thanks for the info Although I haven't used it much, i did not have any problem.
  8. I tested this site and the compiled file is really not working. I hardly ever compile lua files, but when i do then i use the SciTE editor wich was included in this package: http://code.google.com/p/luaforwindows/ ... e&can=2&q=
  9. No i use mta.dzek.eu/compiler/ It does not convert the file format Only compile the file . Yes it is the original file . Change the extension from lua to luac (don't forget to do this in the meta.xml too).
  10. It should work... is the file extension of the compiled scripts luac?
  11. Encryption? Do you mean compiling them?
  12. Your code is not correct, there should be just one word, the name of the command at argument one, and the additional parameters at the end of the function, like this: executeCommandHandler("bind", thePlayer, "l chatbox English") And I think you cant use executeCommandHandler on commands like say, bind, quit (etc.) and commands from other resources, only on commands that you added with addCommandHandler in the same resource.
  13. I searched "font" on the wiki and this was the first result: https://wiki.multitheftauto.com/wiki/Standard_GUI_Font_Names
  14. I dont really know what you want to do, so its hard to help. Bindkey should work also, maybe there are some other mistakes. If you would post the whole script it would be easier because the code that you wrote here before doesn't makes much sense to me.
  15. bindKey(thePlayer, "l", "both", chatbox Ad) Error - chatbox Ad space is not allowed in commands' and funtions' names
  16. Yes, it doesn't seems to be working, check this resource : https://community.multitheftauto.com/index.php?p=resources&s=details&id=2852 it might help you.
  17. Hehe, you are funny So I'm SURE that and end is missing.
  18. The onQuit function itself and two "if" and just two "end" there should be three i think....
  19. Check the server console or the log file for errors or use /debugscript 3. But an end is missing from the onQuit function.
  20. I've found some bugs in the syntax highlighting, when i comment more lines with this: --[[ sometext ]] (I don't know how to call it ). If i remove it the text will remain green. If I comment a line with a double hyphen inside of a block comment, then remove double hyphen, sometimes the line (or just some words in the line) become colored. I hope you can understand it, sorry for my english
  21. csiguusz

    help

    Use source instead of thePlayer in the "onPlayerDamage" event: local state = getElementData(source,"spawn_state") Note: cancelling onPlayerDamage event server-side won't cancel the damage, use onClientPlayerDamage on client side. And who is the player in the timer function? You should make a new function for setting "spawn_state" to "finish" and add a new line to the "onPlayerSpawn" event: setTimer(someFuntion , 50000 , 1, source )
  22. Oh, sorry my fault, it will always return 0 if you using an URL
  23. try: getSoundLength(mapMusic) This will return false if the file/url is invalid.
  24. Hi. I also have the first mentioned problem. I can open/save lua files, but when I click with right button on one tab, then click close, it doesn't closes. I'm on Windows 7.
×
×
  • Create New...