Jump to content

All Activity

This stream auto-updates

  1. Today
  2. MTA: San Andreas [CL29] (CTRL+C to copy) --------------------------- MTA:SA client integrity violation. Possible virus activity. See online help if MTA does not work correctly. Do you want to see some on-line help about this problem ?
  3. Uma solução é desativar o console. addEventHandler("onClientKey", root, function(button, pressOrRelease) if button == "F8" then cancelEvent() end end
  4. Conforme comentado no tópico abaixo, não tem como desativar um comando do cliente. https://forum.multitheftauto.com/topic/73065-question/
  5. Update 1.2 și 1.2.1 Update-ul 1.2 este dbFrame varianta pentru MySQL iar 1.2.1 este noul update pentru dbFrame pe SQLite. Ambele cuprind funcția nouă pentru drop table, optimizări au fost aduse codului. Din acest update nu mai este nevoie de restart dupa crearea unei baze de date mai mult decat atât totul se va face acum din panel, fără a mai fi nevoie de comenziile /GUIcreatetable /GUIinsert etc.
  6. Yesterday
  7. Hello to all, I have a very basic problem in the field of Mta Server Console (MtaServer.exe) When the players on my server reach a large number, Server FPS sync logic reach the numbers 2..1 and the console crashes. After asking people a bit, I realized that there is probably a heavy resource that causes this to happen, And I found that heavy resource But I have optimized all the resources of my server as much as possible. With this Resource, is there a way to prevent the Console from closing suddenly? Does it depend on the host server operating system? (My OS is: Windows Server 2019), Because I have seen many servers that have very, very heavy resources and their operating system is Linux and they do not have this problem. Even my server resources (CPU, Memory) do not reach 100%!
  8. when i join a mta server i have from 30-60 fps but when i move or do something it just goes down to 1 or 10 fps and i dont know why its like this when i play gta sa or samp everything is normal and playable ive tried to do all this things but still doesnt helped with anything: reinstalling mta and gta sa low game setting and video downloaded lots of low pc mods disabled anti virus and firewall lots of youtube tutorials reseting pc tried running as admin ive tried fps boosters my specs are: AMD A4-6300 APU with Radeon(tm) HD Graphics 3.70 GHz with 8 gb ram and a 64 bit operating system my MTA diag: https://pastebin.mtasa.com/7694613593 Please help me guys ive tried everything and i cant enjoy playing mta in this fps drop its really not playable.
  9. I was playing on a
     normal server before,
     but when I came back after
     taking a break from the game for a few days, there was a troll ban message.

    serial number:C62F6101A5B92E821826B835C6ACEC44

     

  10. This simple code will protect you from attacking a server by TriggerServerEvent. Also you can use onPlayerTriggerEventThreshold but I think if player turns off internet and do actions then after turning it on all packets will be send in the same interval. Change some settings to your own! -- client side local ServerCalls ServerCalls = { interval = 1000, maxCallsPerInterval = 20, time = 0, calls = 0, refresh = function(self) if self.time < getTickCount() then self.time = getTickCount() + self.interval self.calls = 0 end end, add = function(self) self:refresh(); self.calls = self.calls + 1 end, } ServerCalls__index = ServerCalls addDebugHook("preFunction", function() ServerCalls:add(); if ServerCalls.calls >= ServerCalls.maxCallsPerInterval and not ServerCalls.makeLastCall then triggerServerEvent("banPlayer", resourceRoot) ServerCalls.makeLastCall = true end return ServerCalls.makeLastCall and "skip" or true end, {"triggerServerEvent"}) -- basic implenemtation of banPlayer (server side) addEvent("banPlayer", true) addEventHandler("banPlayer", resourceRoot, function() banPlayer(client, true, false, true, "Korea", "Anty ddos") end)
  11. Last week
  12. Volumetric street light cone with vertex alpha
  13. Wich dx u use give us example
  14. Nevermind, figured it out in the end.
  15. But it's also ruining it somehow, because player cannot be set back to it's root, because the way my script works, when the player attaches to vehicle, the player can be set to its child, but when it's not needed anymore the player cannot be set back to its root, or maybe I'm just using it wrong, I only need this parent stuff when the player is attached a.k.a part of the attachedPlayers table. The reason why I would want to reset it back to root is because when the car changes interior/dimension the player because he's still an active element of the car, gets teleported there too, even if he is detached and etc.
  16. Pelo que entendi, você quer substituir o Chat do MTA por um chat diferente, porém ao que vejo no código que você está apresentando, isso é para impossibilitar do player digitar, ou seja, sumir completamente o chatbox. Casa seja do seu interesse vou dar um exemplo aqui, e caso seja mais ou menos isso que você procura, vai lhe servir. Vou dar um exemplo do Chat de RP. Ele vai utilizar o chat para Twitter, Anonimo, Local, ForaRP... Etc... 1. Você deve desativar inicialmente o freeroam (é ele que tem nativamente aquele chat que aparece para todos os player quando digitamos algo) 2. Você deve ativar sua resource do Chat de RP que você tem. 3. Caso ainda fique o chat nativo, você além de desativar o freeroam, deve desativar também o pointcolor Veja o seguinte vídeo caso seja isso que procure: https://youtu.be/9CtnY_RUL2k?si=FzVfzL74sJD7aJdf
  17. Yeah it's working now, somehow I've had completely forgot about this function. Thanks for the help!
  18. hola les vengo a dejar esta gm liberada basado de la gm paradise porque el vendedor era un mentiroso dijo que venia 100% configurada con trabajos y todo pero cuando la consegui entre y nisiquiera las facciones tenian interiores o los trabajos servian , pero igualmente esta semi configurada con resources trabajos que se pueden arreglar etc. el vendedor original de esta gm es de esta post que demas que la han visto antes : https://forum.multitheftauto.com/topic/135775-venta-diamante-roleplay-gm-español/ esto lo libero para que no consiga plata de otros pensando que esta configurada. Abajo Les Dejo el Link https://www.mediafire.com/file/krdqicd4rgkm02k/Diamante_RP_GM.rar/file https://www.mediafire.com/file/krdqicd4rgkm02k/Diamante_RP_GM.rar/file el usuario que vendio este tmbn se llama teo en discord asique ojo con eso si ven otro post de este saludos!
  19. _GOD_

    Auto Turn Off Wi-Fi

    Hi , i goto mta server , after 5 minutes my network Automatic Turn Off ! Please Help Me My Wifi is : GP-2101 Thanks
  20. Hi, Would not the attached players follow the vehicle when switching dimension or interior if player is set as children of the vehicle. I'm not sure if it works, could be worth to try. Maybe attachElements is already setting element as children ... -- NOT TESTED function attachPlayerToVehicle(player, vehicle) if not getElementType(player) == "player" then return end if not getElementType(vehicle) == "vehicle" then return end attachElements(player, vehicle) setElementParent(player, vehicle) end edit : I tried with runcode, attached myself to a vehicle, set myself children to this vehicle, set a different interior and dimension to the vehicle and I was following it. I tried also wihout setting myself as children and I was not following. You whole code can only be a short function You could also override attachElements to handle any case by default. Have a nice day
  21. In addition to hardware issues, you may be blocked from the server
  22. Hi guys! lately I've bumped into a problem in my script, which I really can't have any ideas how to solve, or where did I :Oed up with the logic. It's not really the hardest thing to do, but I overcomplicated it somehow with the tables and stuff. The script is basically simple, you can attach/detach to a vehicle with a button press, and when the car moves into different interior/dimension then your character will follow it there, but get's detached because I couldn't really make it work, bugged out with attach or something. But the important stuff is that the interior change is actually working somehow, but the dimension didn't changed, no matter how I done it. local attachedPlayers = {} function handleInteriorDimensionChange(oldInterior, newInterior, oldDimension, newDimension) local vehicle = source local attachedElements = getAttachedElements(vehicle) for _, attachedElement in ipairs(attachedElements) do if getElementType(attachedElement) == "player" then local attachedPlayer = attachedElement triggerClientEvent("playerAnimationToClient", root, "", "", attachedPlayer) triggerClientEvent("stopUpdatingPlayerRotation", root, attachedPlayer) if oldInterior ~= newInterior then setElementInterior(attachedPlayer, newInterior) outputChatBox (inspect (attachedPlayer) .. "'s interior changed from " .. oldInterior .. " to " .. newInterior) end if oldDimension ~= newDimension then setElementDimension(attachedPlayer, newDimension) outputChatBox(inspect(attachedPlayer) .. "'s dimension changed from " .. oldDimension .. " to " .. newDimension) end detachElements(attachedPlayer, vehicle) setElementData(attachedPlayer, "attached", false) setElementData(attachedPlayer, "attachedVehicle", nil) setElementData(attachedPlayer, "attachmentPosition", nil) if attachmentPoint then attachmentPointsStatus[attachmentPoint] = false end end end end function getAttachedPlayers(vehicle) local attachedPlayers = {} local attachedElements = getAttachedElements(vehicle) for _, attachedElement in ipairs(attachedElements) do if getElementType(attachedElement) == "player" then table.insert(attachedPlayers, attachedElement) end end return attachedPlayers end
  23. How exactly do I apply my custom transforms/scale in object-level? I literally just downloaded Blender yesterday so I could change the size of the cube lmao! I know nothing about this
  24. Game exporters usually ignore custom rotation/scale values and reset them back to 0 on export. Try applying your custom transforms/scale in object-level and it'll show up in the correct scale
  25. I downloaded a game mode featuring a rotating cube. After editing the code to make it better I went into Blender and made the cube bigger, but it somehow loads the original cube even though the file has been replaced with the modified one. I even made a new server and tried to host the game mode - same issue. What is going on here?!
  1. Load more activity
×
×
  • Create New...