Anderl
Members-
Posts
2,266 -
Joined
-
Last visited
Everything posted by Anderl
-
E para que você quer o elemento root?
-
Porque 'source' é uma variável, não uma função.
-
FPS Travado
Anderl replied to knxtgamming's topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
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. -
FPS Travado
Anderl replied to knxtgamming's topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
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? -
Do it in the client side.
-
viewtopic.php?f=108&t=55219&p=533886&hilit=+Still%2C+most+#p533820
-
There are no "functions" to prevent decompiling.
-
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.
-
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.
-
MTA already has a 'cache' subnode for the 'meta.xml' file so files aren't downloaded to the client's computer.
-
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 -->
-
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.
-
Why did you convert it to MTA: Race map format?
-
Do you mean YouTube videos? If so, no - you can't show any kind of videos in a server.
-
Race pickups are objects, and markers aren't collision shapes, they have a collision shape.
-
None of the codes above create a local timer. They're still global. @Booo, your last code is wrong.
-
FPS Travado
Anderl replied to knxtgamming's topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
Isso acontece em um servidor específico ou em todos? -
Use local variables whenever possible. And what is that timer for?
-
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 ]] }
-
In the playSound wiki page you have all supported file formats: MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M.
-
MP4 files aren't supported by playSound.
-
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?
-
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.
