Jump to content

Anderl

Members
  • Posts

    2,266
  • Joined

  • Last visited

Everything posted by Anderl

  1. E para que você quer o elemento root?
  2. Porque 'source' é uma variável, não uma função.
  3. Seu computador é muito fraco para o Multi Theft Auto, você pode ir à secção de ajuda para o Towncivilian lhe ajudar já que ele está mais a par dos novos controladores e bugs de cada um, mas isso não lhe vai ajudar muito com isso.
  4. As especificações mínimas e recomendadas do SA:MP para o Multi Theft Auto são bem diferentes, você pode ter 50FPS no SA:MP e 20FPS no Multi Theft Auto (isto é só um exemplo, não é real) Quais são as especificações do seu computador?
  5. viewtopic.php?f=108&t=55219&p=533886&hilit=+Still%2C+most+#p533820
  6. There are no "functions" to prevent decompiling.
  7. Not really, it's actually very easy and I'm pretty sure Noneatme thinks so too. And yes, it may be a little useful for Roleplay servers.
  8. MTA already has a 'cache' subnode for the 'meta.xml' file so files aren't downloaded to the client's computer. No i didn't mean that i mean if i upload a resource in the community some people can decompile it use luadec I was answering Renkon, not telling you to use that. I already gave you the answer to your first question.
  9. MTA already has a 'cache' subnode for the 'meta.xml' file so files aren't downloaded to the client's computer.
  10. Copy the library (DLL) to the 'modules' folder located in %PATH_TO_YOUR_SERVER%/mods/deathmatch/. Then, open the file "mtaserver.conf" file located in the same folder above (%PATH_TO_YOUR_SERVER%/mods/deathmatch/) and search for module node and add the following line below them but changing the name of the DLL in this to the right one: <module src="myModule.so" /> <!-- Change "myModule" to the name of the DLL. This loads a "myModule" shared library in the server, but only for Linux. If you're using Windows, you obviously need to change the extension 'so' to 'dll' in this line -->
  11. There is no way to protect your file from being decompiled, you can do whatever you want, there will always be a way to decompile your code.
  12. Why did you convert it to MTA: Race map format?
  13. Do you mean YouTube videos? If so, no - you can't show any kind of videos in a server.
  14. Race pickups are objects, and markers aren't collision shapes, they have a collision shape.
  15. None of the codes above create a local timer. They're still global. @Booo, your last code is wrong.
  16. Isso acontece em um servidor específico ou em todos?
  17. Anderl

    HELP SCRIPT

    Use local variables whenever possible. And what is that timer for?
  18. Because your array is wrong. You added a single string to the first field of the array with all names of the files separated by commas. The array must be this way: local sounds = { "sounds/ambient0.wav", "sounds/ambient1.wav", "sounds/ambient3.wav", --[[ ADD OTHER FILES HERE ]] }
  19. In the playSound wiki page you have all supported file formats: MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M.
  20. MP4 files aren't supported by playSound.
  21. You can't show videos on a MTA server, if that's what you meant. About the live stream, what do you mean? Show a live stream in the server, or do a live stream of the game?
  22. Ah, well.. You're really talking about peds and not players.. Then I don't know how would you see if a ped can see some element, peds aren't user-controlable and so I don't think you can check if the ped is seeing another element. But you should not rely on my words, because I may be wrong.
×
×
  • Create New...