Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/08/20 in all areas

  1. CLICK HERE TO DOWNLOAD
    1 point
  2. You likely won't be able to intercept these messages as MTA's network communication is encrypted Server_mtaserver.conf#networkencryption and the ability to disable it was removed in commit 4e89dd81e0914a30688941768c0c3dfe104727f4 over 5 years ago. The actual encryption of network communications happens within the closed-source net.dll file. Even if you were to manage to decrypt somehow, you'd still need to copy and keep up-to-date headers for the packets (Packets.h and packetenums.h and additionally most, if not all, external dependencies those files have), as the packets aren't named in the payload, but rather numbered, and the definitions for which ID refers to which packet may (though probably won't, but making this assumption isn't a good idea) change in the future.
    1 point
  3. Tudo depende de como você realiza as tarefas de sincronização dentro do código. Concordo que "tem hora pra tudo", mas tabelas são mais eficientes. E também, pra falar a verdade, a diferença é mínima. Prefiro ter o código mais organizado com tabelas e criar a sincronização manual, através dos triggers, do que utilizar elementData. Sim, você precisa ter a tabela no client-side e server-side, é aí que entra a parte de sincronizar tudo, basta usar a lógica de como as coisas devem ser feitas.
    1 point
  4. Olá e bem-vindo ao fórum. Para manter o local organizado temos os respectivos sub-fóruns, por isso, sempre que criar um tópico por favor crie-o dentro do sub-fórum Portuguese / Português Você pode encontrá-lo pela página inicial do fórum da forma mostrada abaixo: Isso evitará o trabalho que os moderadores têm diariamente de mover posts para os locais certos. Sempre que criar um novo tópico, certifique-se que esteja na devida categoria. No sub-fórum Português ficam todas postagens na linguagem portuguesa, enquanto que fora da categoria Other languages só é permitido posts em inglês, por isso, sempre que responder um tópico, preste atenção a isso. Tópico movido @AGAKAZZYN
    1 point
  5. The sort answer: --1st way >> table {} setElementData(player,"data",{x,y,z}) and --2nd way >> data[i] setElementData(player,"data",{x,y,z}) local data = getElementData(player,"data") local x,y,z = data[1],data[2],data[3] You can test all of them easily for yourself: -- CLIENT local startTick = getTickCount() for i = 1, 100000 do -- execute the code 100000 times setElementData(localPlayer,"data",{0,0,0}) local data = getElementData(localPlayer,"data") local x,y,z = data[1],data[2],data[3] end local endTick = getTickCount() print("Execution time:", endTick - startTick .. " ms") And you should check this:
    1 point
  6. Você pode definir isso dentro do arquivo mtaserver.conf. Procure por isto: <resource src="admin" startup="1" protected="0" /> <resource src="defaultstats" startup="1" protected="0" /> <resource src="helpmanager" startup="1" protected="0" /> <resource src="joinquit" startup="1" protected="0" /> <resource src="mapcycler" startup="1" protected="0" /> <resource src="mapmanager" startup="1" protected="0" /> <resource src="parachute" startup="1" protected="0" /> <resource src="performancebrowser" startup="1" protected="0" /> <resource src="ipb" startup="1" protected="0" /> <resource src="reload" startup="1" protected="0" /> <resource src="resourcebrowser" startup="1" protected="1" default="true" /> <resource src="resourcemanager" startup="1" protected="1" /> <resource src="scoreboard" startup="1" protected="0" /> <resource src="spawnmanager" startup="1" protected="0" /> <resource src="voice" startup="1" protected="0" /> <resource src="votemanager" startup="1" protected="0" /> <resource src="webadmin" startup="1" protected="0" /> <!-- play is the default freeroam gamemode. Remove the following line to prevent it from starting. --> <resource src="play" startup="1" protected="0" /> Basta copiar uma linha, colar abaixo de alguma e inserir o nome do resource que você deseja. Lembre-se de manter o atributo startup com o valor 1.
    1 point
  7. الله يرحم الساعة... والله اياام
    1 point
  8. I think this ressource is simple That's My opinion and That Price Is A lot For it i guess a 2 $ or 3 $ will be good
    1 point
×
×
  • Create New...