Jump to content

Shady1

Members
  • Posts

    765
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by Shady1

  1. Shady1

    Crash error

    hi if your problem still persists download MTADiag and wait for the scan, then post the pastebin URL here Please run MTADiag so we can investigate your issue in more detail: https://mtasa.com/mtadiag
  2. hello, if your problem is not solved and still persists, please read my message below and take the necessary actions "Check to see if you have software for your mice or keyboard that shares the same functionality as autohotkey or similar"
  3. Shady1

    MTA CRASH

    hello, if your problem is not solved and still persists, please read my message below and take the necessary actions Offset = 0x003C91CC : Out of video memory. This can happen on servers with unoptimized mods and (faulty) scripts that abuse video memory, or even when you have a powerful graphics card in case the stuff on a server is extremely unoptimized so that it starts hitting GTA limits. If you have a powerful graphics card and more players suffer from this crash type, inform the server owner of this problem as it probably means their scripters & designers don't know what they are doing.
  4. If you usually have problems in this way, I will tell you some of the methods you need to do, if the problem still persists, read my comment at the bottom and continue the process. Firstly, I do not recommend using the GTA:SA Crack version and you should not have the GTA:SA file without mods. hi if your problem still persists download MTADiag and wait for the scan, then post the pastebin URL here Please run MTADiag so we can investigate your issue in more detail: https://mtasa.com/mtadiag
  5. Shady1

    MTA Crash

    hi if your problem still persists download MTADiag and wait for the scan, then post the pastebin URL here Please run MTADiag so we can investigate your issue in more detail: https://mtasa.com/mtadiag
  6. hi download MTADiag and wait for the scan, then post the pastebin url here Please run MTADiag so that we can investigate your issue further: https://mtasa.com/mtadiag
  7. I'm here to share an explanation again, I've been after reviving this project for a long time, so I continue to develop the old GTA:SA DayZ version project, we share updates on our discord server, if you still want to take part in this project, you can join our discord server for detailed explanations. Discord : https://discord.gg/qGszZbZDcX MTA Updates : -Toplist -Stats -Achievements -Level(RPG)/skills -Rank -VIP Features -Infrastructure arrangements -Rewards -Anti-Cheat(Log system) -and some GTA:SA notifications and some mysterious events that will enhance the enjoyment of the game, i.e. easter eggs,a total of more than 50 secret-events on the map . (discord for pictures and examples)
  8. https://wiki.multitheftauto.com/wiki/GetKeyState and https://wiki.multitheftauto.com/wiki/CancelEvent
  9. but I created a piece of code for you, maybe it will help you, local vehicleChecker function checkVehiclesInWater() for _,vehicle in ipairs(getElementsByType("vehicle")) do if isElementInWater(vehicle) then destroyElement(vehicle) end end end vehicleChecker = setTimer(checkVehiclesInWater, 4000, 0) I don't understand exactly what you are trying to do, I didn't understand anything when I examined your code
  10. function showTeamFunction(command, source) -- Check if the source (player element) is valid if not source or getElementType(source) ~= "player" then outputChatBox("Invalid player source.") return end local playerTeam = getPlayerTeam(source) if playerTeam then local players = getPlayersInTeam(playerTeam) for playerKey, playerValue in ipairs(players) do outputChatBox(getPlayerName(playerValue)) end else outputChatBox("You are not in a team.") end end addCommandHandler("showTeam", showTeamFunction)
  11. kernelbase.dll crashes these can be caused by many system and operating system issues (may be memory related issues) kernelbase.dll error, probably out of VRAM/RAM/disk space
  12. https://wiki.multitheftauto.com/wiki/FormatDate
  13. you have multiple non-standard errors, so please check your GTA:SA file and download GTA:SA again without clean mods
  14. You don't need to do this in onPlayerQuit, all data is already destroyed when the player exits the game. In your code, the panel is run at startup. If you set guiSetVisible to false it will not show up, but my advice is to create it when you need it and delete it with destroyElement Also, onPlayerQuit is a server event. The codes inside are client-side, so they don't work together. function destroyWeaponShop() --destroy function for shop if isElement(GUIEditor.window[1]) then destroyElement(GUIEditor.window[1]) GUIEditor.window = {} end end function doWeaponShop() --create function for shop GUIEditor.window[1] = guiCreateWindow(98, 46, 654, 450, "Weapon shop", false) end addCommandHandler("shop", function() if GUIEditor.window[1] then -- if window is exists delete destroyWeaponShop() else doWeaponShop() --if not exists create one end end )
  15. local x = 268.868 local y = 2037.208 local z = 17.7 function respawn(player) if player then spawnPlayer(player, x, y, z) fadeCamera(player, true) setCameraTarget(player, player) givePlayerMoney(player, 0) setPlayerTeam(player, player) giveWeapon(player, 31, 1000) outputChatBox("", player, 255, 255, 255) end end addEventHandler("onPlayerWasted",root, function() setTimer(respawn,8000,1,source) --respawn after 8 second later end)
  16. --clientside function handleKey(button, press) if not imagesEnabled and press and getKeyState("mouse2") then return false end for i, allowedImage in ipairs(allowedImages) do if button == allowedImage.key then triggerServerEvent("checkPlayerAllowed",localPlayer) end end end addEventHandler("onClientKey", root, handleKey) --serverside function isPlayerAllowed(player) return allowedPlayers[getPlayerSerial(player)] ~= nil end addEvent("checkPlayerAllowed",true) addEventHandler("checkPlayerAllowed",resourceRoot, function() if isPlayerAllowed(client) then --whatever you do, write server side functions or do client operations with triggerClientEvent end end)
  17. function checkPlayerDoingAnim() local block,anim = getPedAnimation(localPlayer) if block and anim then triggerServerEvent("kickPlayer",localPlayer, "Don't use animations") end end local animChecker = setTimer(checkPlayerDoingAnim, 350,0) -client addEvent("kickPlayer",true) addEventHandler("kickPlayer",resourceRoot, function(reason) if client then kickPlayer(client, reason) end end) -server
×
×
  • Create New...