Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 13/03/22 in all areas

  1. Olá, boa tarde tudo bem? Você pode resolver verificando se o elemento que hitou o marker é um player, e se for se ele está logado. Teste desta maneira: ------------------------------------------------------------------------------ -------------------------------[PORTÃO PRENDER]------------------------------- ------------------------------------------------------------------------------ --- MARKERS --- local gate3 = createObject(986, 1588.599609375, -1638.2998046875, 13.199999809265, 0, 0, 0) local marker3 = createMarker(1588.599609375, -1638.2998046875, 13.199999809265, "cylinder", 5, 0, 0, 0, 0) --- FUNÇÃO ABRIR --- function moveGate3(thePlayer) if thePlayer and isElement(thePlayer) and getElementType(thePlayer) == "player" then if not isGuestAccount(getPlayerAccount(thePlayer)) then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)) , aclGetGroup("Policial")) then moveObject(gate3, 1000, 1588.599609375, -1638.2998046875, 4.5) end end end end addEventHandler("onMarkerHit", marker3, moveGate3) --- FUNÇÃO FECHAR --- function move_back_gate3() moveObject(gate3, 1000, 1588.599609375, -1638.2998046875, 13.199999809265) end addEventHandler("onMarkerLeave", marker3, move_back_gate3)
    1 point
  2. Hello and welcome! By checking your MTAdiag I was able to check the most recent crash: The crash above happened two times in the same day and after doing some research I was able gather some information from MTA discord: libcef.dll crash at offset: 0x024590DE or similar (code 0xE0000008): It's a memory crash.. most people that have it are close to GTA technical limit of 3GB+ RAM usage. Either advise the server owner to optimize stuff on the server (scripts, heavy mods, etc) or it will be neccesary to find another server to play on.. if the crashes happen regularly and bother you. I also decided to also check the crash of the previous day: Offset 0x003F5A3A is a memory crash, usually happens on heavily unoptimized servers. It can be a result of either out of video memory or reaching technical limits of RAM usage, but more often a combination of both.. hence it's put as "heavily unoptimized servers". Contact the server owner and ask for optimization, or find other servers to play on. Keeping that in mind, the two crashes are intertwined and point to a common factor, which is poorly optimized mods.
    1 point
  3. Server bana ait değil, uzun süredir oyuncusuyum. Sunucuya V3 güncellemesi geldi, o günden beri böyle bir hata veriyor. Geliştiricisine de ulaştım, gözden geçirecekler.
    1 point
  4. server sana ait ise kodu gösterirmisin? eğer değilse server sahibi ile irtibat kurun bu sorun için script sonsuz döngüye giriyor olabilir
    1 point
  5. You're welcome. Please open a new topic if you have any other questions, I'll help you as best I can. ?
    1 point
  6. I managed to fix it, i had a bad argument in the client file. Thank for the help anyway.
    1 point
  7. An update will be released soon! ? I'm waiting on MTA to update as a few important bugfixes were pushed. (Pull 2474, Pull 2486) Thank you @TheNormalnij ? I'll also be improving my other project that uses this newmodels library: https://github.com/Fernando-A-Rocha/mta-samp-maploader and publishing the 1st stable release. PS. I've received multiple messages of people wanting to implement this in the OwlGaming Gamemode. I'll see if I can improve the tutorial present in the README.md on the GitHub repo.
    1 point
×
×
  • Create New...