-
Posts
54 -
Joined
-
Days Won
2
Everything posted by Dynus
-
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
-
Coloca uma permissão de ACL. general.tab_options
-
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)
-
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)
-
You should use client instead of source in the addEventHandler.
-
You should reinstall the server, I use this link below. https://nightly.multitheftauto.com/mtasa_x64-1.6-rc-22410-20240301.exe
-
Add a larger column to the database: VARCHAR(64)
- 15 replies
-
- 1
-
-
if sha256(pass) == result[1]["password"] then print("Sikeres bejelentkezés!") else print("Hibás jelszó!") end
- 15 replies
-
https://wiki.multitheftauto.com/wiki/CreateColCuboid
-
getAccountsBySerial(serial)
-
We have these buttons: escape backspace tab lalt ralt enter space pgup pgdn end home insert delete lshift rshift lctrl rctrl [ ] pause capslock scroll ; , - . / # \ =
-
The accepted keys: https://wiki.multitheftauto.com/wiki/Key_names
-
dbExec(connection,"UPDATE interiors SET megujitva = CURRENT_TIMESTAMP(6) WHERE id = ?",idd)
-
Can you show the database structure?
-
Yes.
- 15 replies
-
- 1
-
-
Sha256 is good enough. Don't use md5.
- 15 replies
-
The system uses sha384.
- 15 replies
-
Use this function: sha256(password)
- 15 replies
-
Estamos a disposição.
-
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)
-
This crash is caused when you collide two players at the respawn. You should avoid collisions or use another skin.
-
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)
-
You have to calculate the position considering the object edges. The coordinate arrow is located at the center of the object.
-
addEventHandler("onClientResourceStart", getResourceRootElement(), function() end) addEventHandler("onClientSoundBeat", getResourceRootElement(), function() end) addEventHandler("onClientSoundStopped", getResourceRootElement(), function() end)
