Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. ATTENTION I'm aware that the first upload of Nerd Gaming was extremely buggy. I've decided since that I'm starting to come back to MTA that i'll create support for it. Anyone that is using scripts or wants to use scripts from this gamemode, please put this NGGamemode resource on your server. It will notify you when there is a gamemode update available. The most recent version of NG can be found here: https://github.com/braydondavis/Nerd-Gaming-Public
  2. From the looks of it, you should use the playSound function in the onClientMapStopping event (created by the race resource) and then destroy the sound element in the onClientMapStarting event (created by the race resource).
  3. The script is trying to use the mysql_connect function, which doesn't exist. You should update the script to the default MTA db functions, otherwise you need to install the MTA MySQL module.
  4. You posted in the wrong section, but the custom GUI themes are here: viewforum.php?f=139
  5. I'm not too good with SQL, so I'm not sure if you can do it only with SQL. However, within Lua, you can run a SELECT query (SELECT * FROM tableName) and check to see if the value you're about to insert is already in the table.
  6. xXMADEXx

    Localchat.

    There is probably another script that cancels and sends a message onPlayerChat.
  7. At the end of the script will do just fine.
  8. File '.luac' will act as '.lua'? Yes. Compiling it just makes it so you can't view or edit the code.
  9. Are there any debug errors? (/debugscript 3)
  10. .luac files lua files that are compiled. They can be opened with Notepad++, but you can't edit them or view the code.
  11. Yes, it's server-side. It's not really even hard to create your own meta for it. Check my tutorial: viewtopic.php?f=148&t=75501 - Making a resource
  12. xXMADEXx

    luac

    I also released this a bit back, just after luac.multitheftauto.com was being forced. viewtopic.php?f=108&t=72988 Either way, the link DNL291 posted and my program basically should do the same thing.
  13. That would have no effect. If I remember correctly, it has something to do with the order in which you replace the files. Not sure if it'll work, but try loading the dff file first, if that doesn't work then it would probably be a corrupted file.
  14. You could try using setElementRotation within an onClientPreRender event.
  15. Then change: aclGetGroup("Vip") to aclGetGroup("VIP")
  16. There's loads of login scripts on the community. You can download one and take a look at the source to see how it works.
  17. Does it give any errors? Does it give you either $50 or $100? Are you sure you're in the "Vip" ACL and not something like "VIP" because it is case sensitive.
  18. That error isn't coming from this script. However, you need to remove the onResourceStart and onResourceResart events because that function isn't properly scripted for it.
  19. Install LAMP as LinKin said. Apache and MySQL come installed with it.
  20. I used the calculations from this script. https://community.multitheftauto.com/in ... ls&id=3090
  21. Get their PT when they loggout, and just update it in the database.
  22. It could be the webserver. Some common issues would be: - THe server doesn't support have a mail server - The mail server is registered temporarily registered as spam due to a lot of emails being sent
×
×
  • Create New...