Jump to content

Dynus

Members
  • Posts

    54
  • Joined

  • Days Won

    2

Everything posted by Dynus

  1. I used to have the same problem is caused by Steam 3.0 version. Some archives were removed on Steam 3.0 version. GTA 1.0 doesn't have problems as I remember. https://gtamods.com/wiki/San_Andreas_Versions
  2. Coloca uma permissão de ACL. general.tab_options
  3. local spawn = createMarker(0, 0, 0, "cylinder", 1, 255, 255, 255, 255) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("SAMU")) then setElementModel(element, 274) end end end) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("PM")) then setElementModel(element, 280) end end end)
  4. Coloque o código abaixo em servidor: local spawn = createMarker(0, 0, 0, "cylinder", 1, 255, 255, 255, 255) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("SAMU")) then if getPedOccupiedVehicle(element) == false then local x, y, z = getElementPosition(element) local v = createVehicle(551, x, y, z) warpPedIntoVehicle(element, v) end end end end) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("PM")) then if getPedOccupiedVehicle(element) == false then local x, y, z = getElementPosition(element) local v = createVehicle(551, x, y, z) warpPedIntoVehicle(element, v) end end end end)
  5. You should use client instead of source in the addEventHandler.
  6. You should reinstall the server, I use this link below. https://nightly.multitheftauto.com/mtasa_x64-1.6-rc-22410-20240301.exe
  7. Add a larger column to the database: VARCHAR(64)
  8. if sha256(pass) == result[1]["password"] then print("Sikeres bejelentkezés!") else print("Hibás jelszó!") end
  9. https://wiki.multitheftauto.com/wiki/CreateColCuboid
  10. getAccountsBySerial(serial)
  11. Dynus

    Hotkey

    We have these buttons: escape backspace tab lalt ralt enter space pgup pgdn end home insert delete lshift rshift lctrl rctrl [ ] pause capslock scroll ; , - . / # \ =
  12. Dynus

    Hotkey

    The accepted keys: https://wiki.multitheftauto.com/wiki/Key_names
  13. Dynus

    Hotkey

    Where do you need help?
  14. dbExec(connection,"UPDATE interiors SET megujitva = CURRENT_TIMESTAMP(6) WHERE id = ?",idd)
  15. Can you show the database structure?
  16. Yes.
  17. Sha256 is good enough. Don't use md5.
  18. The system uses sha384.
  19. Use this function: sha256(password)
  20. Estamos a disposição.
  21. addEventHandler("onClientSoundStopped", resourceRoot, function(reason) local soundtrack = playlist[math.random(#playlist)] if reason == "destroyed" then playSound(soundtrack[1], false) elseif reason == "finished" then playSound(soundtrack[1], false) elseif reason == "paused" then playSound(soundtrack[1], false) end outputChatBox("Agora você está escutando: " .. soundtrack[2]) end)
  22. This crash is caused when you collide two players at the respawn. You should avoid collisions or use another skin.
  23. local sound = playSound("https://upload.wikimedia.org/wikipedia/commons/0/0d/Hino-Nacional-Brasil-instrumental-mec.ogg", false) addEventHandler("onClientRender", root, function() for i, v in pairs(getElementsByType("sound", resourceRoot)) do if getSoundPosition(v) >= getSoundLength(v) - 10 then setSoundVolume(v, getSoundVolume(v) - 0.005) end end end)
  24. You have to calculate the position considering the object edges. The coordinate arrow is located at the center of the object.
  25. addEventHandler("onClientResourceStart", getResourceRootElement(), function() end) addEventHandler("onClientSoundBeat", getResourceRootElement(), function() end) addEventHandler("onClientSoundStopped", getResourceRootElement(), function() end)
×
×
  • Create New...