Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/07/23 in all areas

  1. Tem sim, você consegue ativar ou desativar via script usando setTransferBoxVisible(). essa é uma função Shared, então você pode fazer uma verificação server-side se o jogador estiver logado e fazer uma trigger para desativar se ele estiver. Esse script deve esconder a barra de download sempre que o player estiver online e para qualquer resource iniciada. Server-side: addEventHandler('onResourceStart', root, function(resource) local players = getElementsByType('player') for i, j in pairs(players) do if not isGuestAccount(getPlayerAccount(j)) then triggerClientEvent(j, 'esconde', resourceRoot()) end end end) Client-Side: addEvent('esconde', true) addEventHandler('esconde', root, function() setTransferBoxVisible(false) end)
    1 point
  2. Hi, welcome to the forums! As stated by the other replies in this topic, this is a memory-related issue that you're experiencing due to the server you're trying to play on using too many of your device's resources. Giving a quick glance at the 'Resolving out of memory crashes' segment on the Famous crash offsets and their meaning wiki page will provide you with plenty of information and ways that you can give a try in order to avoid these kind of crashes in the future. The most straight-forward would be to either upgrade your PC hardware and/or find other, less resource-intensive servers to play on.
    1 point
×
×
  • Create New...