Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. xXMADEXx

    help ?

    What does debugscript say? (/debugscript 3)
  2. xXMADEXx

    help ?

    Yes. You need to use the callRemote function. The wiki page for that function actually has a basic example that could possibly work.
  3. There's a lot of errors in that. Try using this and if it still doesn't work check debugscript (/debugscript 3) function onVehicleEnter ( thePlayer ) if ( not Barcos [ getElementModel ( source ) ] ) then return end local occupation = tostring ( getElementData( thePlayer, "Occupation" ) ) if ( occupation == "Fisherman" ) then getNewBarcoLocation ( thePlayer ) end end addEventHandler ( "onVehicleEnter", root, onVehicleEnter )
  4. It's not a problem with the client side files. The problem is trying to download them from the server. Even if the files are there, the client isn't recognizing them.
  5. As in a black screen? Try starting the 'play' gamemode. If you don't have it, you can get it from here: https://github.com/multitheftauto/mtasa ... %5Bplay%5D https://github.com/multitheftauto/mtasa ... D/freeroam
  6. It means that 'args' is returning a boolean instead of a table.
  7. There's something wrong with your ACL.xml file. Replace the one you have with MTAs default. https://github.com/multitheftauto/mtasa ... ch/acl.xml
  8. No, there's no decompilers.
  9. You're going to need to post your whole script.
  10. This script only sends the server a request for the mods list until the server has replied, but it doesn't do anything with files until the server has successfully loaded and checked all the mods and sends the response to the client. What are you saying? Basically that the client script doesn't use any files before it's completely started.
  11. This script only sends the server a request for the mods list until the server has replied, but it doesn't do anything with files until the server has successfully loaded and checked all the mods and sends the response to the client.
  12. xXMADEXx

    Help

    createBrowser isn't in MTA 1.4. It's will be released in MTA 1.5. You can get an MTA 1.5 nightly build @ https://nightly.multitheftauto.com/
  13. As long as a player has a connection to a server, the server IP is vulnerable. It would be rather pointless to hide them.
  14. Did you even read the problem? He said that after a minute it resets to whatever skin it was. Sorry HUNGRY:3 but I can't answer this, I don't really have any experience with scripting in DayZ. Maybe there is an element data that the DayZ gamemode is using for skin. Try using this and search for a skin ID that it may be resetting to: local p = getPlayerFromName ( "your nick" ); for index, var in pairs ( getAllElementData ( p ) ) do outputChatBox ( tostring ( index )..": "..tostring ( var ) ) end
  15. Execute the following command (make sure the runcode resource is running): crun setDevelopmentMode ( true ) -- use this to enable development mode crun setDevelopmentMode ( false ) -- use this to disable development mode
  16. Awesome. And I really hope that you do make it open source (if so, GitHub would be perfect) because I'm kinda curious about the backends of it.
  17. You need to be patient, you cant just go and spam your own topic because nobody is replying. You'll need to use SQL DELETE and WHERE statements. http://www.w3schools.com/sql/sql_delete.asp
  18. If you're looking to delete a log, you'll just need to use the SQL DELETE and WHERE statements. http://www.w3schools.com/sql/sql_delete.asp
  19. I don't like the fact that you guys are using nulled forum software... Why don't you just a free forum software like SMF?
  20. This should be posted in the Scripting section. It all depends on your system. If you would like help, you'll need to post the code.
  21. I honestly have no idea why it does this. After a while, it will just start randomly loading the files though. Still haven't found out why.
  22. Hello everyone, So, I'm currently updating my Mod Downloader script to support weapons and skin models. However, I've been running into an issue with downloadFile. I'm not sure if it is something that I am doing in the script, or if it is an issue with MTA itself. The MTA client says that the files do not exist. Every once in a while it will successfully find and download them, but most often times it says that the files don't exist. Screens: I cannot figure out for the life of me of why this is not working. Any help is greatly appreciated. Thanks, xXMADEXx Edit: Restarting the server seems to make the files actually able to download, but restarting the server whenever something is added is just ridiculous
  23. I'm not sure about executing commands from different files, I've never really had to do that. However, you could just make an export to the function you're trying to call.
×
×
  • Create New...