Jump to content

Otavio_Augusto

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Otavio_Augusto

  1. Estou com um problema onde quando não estou na Acl 'Policial' e mesmo eu estando nas outras não funciona o que está errado?? grupoSegurar = {"Policial", "Admin", "Console"}, function Segurar(thePlayer) for _, acl in ipairs(grupoSegurar) do iprint(_, acl) if not isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)) , aclGetGroup(acl)) then return else for _, targetPlayer in ipairs(getElementsByType("player")) do local x, y, z = getElementPosition(thePlayer) local tx, ty, tz = getElementPosition(targetPlayer) if (getDistanceBetweenPoints3D(x, y, z, tx, ty, tz)>1) then else if targetPlayer ~= thePlayer then if getElementData(thePlayer, "char.viszEffect") then setElementData(thePlayer, "char.viszEffect", false) setPedAnimation(targetPlayer, "GANG", "prtial_gngtlkA", false, false) detachElements(targetPlayer, thePlayer, 0, 0.5, 0 ) setElementFrozen(targetPlayer, false) else setElementData(thePlayer, "char.viszEffect", true) attachElements(targetPlayer, thePlayer, 0, 0.5, 0) setElementFrozen(targetPlayer, true) end end end end end end end
  2. Tipo eu aumentei o range do som mas mesmo assim o player que esta do meu lado não escuta, não aparece nenhum erro no debug
  3. o que esta de errado nessa função em que o som não é reproduzido pra todos que estão pertos? function trancarVeh() local x, y, z = getElementPosition(localPlayer) local lockSound = playSound3D( "files/lockout.mp3", x, y, z, false) setSoundMaxDistance(lockSound, 20) setSoundMinDistance(lockSound, 15) setSoundVolume(lockSound, 1) end
  4. Olá, tenho um mod de inventario para mta que usa MySql como database, gostaria de saber se teria como converte-lo para SqlLite, vou estar deixando o link para que alguém que manje de database, o mod não é exclusivo então não vejo problemas em deixa-lo o link aqui. https://www.mediafire.com/file/utjoiptsiv2v40s/vz_inventario.7z/file
×
×
  • Create New...