-
Posts
980 -
Joined
-
Last visited
-
Days Won
1
Everything posted by manawydan
-
try function menuShow () visableornot = guiGetVisible (DXgui.fereastra[1]) if (visableornot == true) then guiSetVisible (DXgui.fereastra[1], false) showCursor (false) end if (visableornot == false) then guiSetVisible (DXgui.fereastra[1], true) showCursor (true) end end addEvent("SeeGui",true) addEventHandler("SeeGui",root,menuShow) -- server function open(P) triggerClientEvent(P,"SeeGui"P) end addCommandHandler("gui",open)
-
Como me por como admin
manawydan replied to _Vodka_'s topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
voce fez login exatamente com o mesmo nick do acl? era pra ter funcionado -
Como me por como admin
manawydan replied to _Vodka_'s topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
voce tinha salvo o acl correto? tente fecha o server e abrir denovo -
Como me por como admin
manawydan replied to _Vodka_'s topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
o que a mensagen diz? ( quando vc tenta faze registro e login) -
Como me por como admin
manawydan replied to _Vodka_'s topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
foi fez registro e login? ( /register seunick pw:senha ) ( /login seunick pw:senha) -
Como me por como admin
manawydan replied to _Vodka_'s topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
sim -
MTA Reiniciando Computador
manawydan replied to False's topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
seu gta apresenta modificações? -
Como me por como admin
manawydan replied to _Vodka_'s topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
Abra o acl e adicione isso : depois abra seu server, faça registro e login com o nick que voce coloco no seu acl -
only example, try -- server local GodCommand = "god" -- command function SetGodAdmin(P) if isGuestAccount(getPlayerAccount(P)) then return outputChatBox("Only Adm can use",P) end -- guest if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(P)),aclGetGroup( "Admin" )) then -- is admin? local Is = getElementData(P,"GodAdmin") -- get data if Is then -- if data is true removeElementData(P,"GodAdmin") -- lets remove outputChatBox("God mod off",P) else -- else lets activate setElementData(P,"GodAdmin",true) outputChatBox("God mod on",P) end end end addCommandHandler(GodCommand,SetGodAdmin) -- client addEventHandler("onClientPlayerDamage",getLocalPlayer(), function() if getElementData(source,"GodAdmin") then cancelEvent() end end )
-
https://community.multitheftauto.com/in ... ls&id=1129
-
MTA Freeroam | Freeforall [BRASIL] Z0N4 0NL1N3
manawydan replied to AnjoCaiido's topic in Servidores para jogar
Você poderia fala sobre o server ou colocar imagens, acho que chamaria mais a atenção dos jogadores. Boa sorte! -
MTA: Dayz |DisconnectedLINE| (Evento para Clans)
manawydan replied to MmSKurama's topic in Servidores para jogar
Boa sorte! -
function ItemG(thePlayer,ID,dop) outputChatBox("LOL") exports [ "heroinventory" ]:addPlayerItem(thePlayer,ID,1) destroyElement(source) end addEventHandler("onPlayerPickupItem",root,ItemG) no work.
-
tente isso: addEventHandler('onPlayerQuit', g_Root, function(reason) if (reason == "Quit") then local M = "Vontade Propria" outputChatBox('#9370DB[#008B8BINFO#9370DB]#FFD700: ' .. '#abcdec[#ffff00' .. M .. '#abcdec]#00FF00 ' .. getPlayerName(source) .. ' #FFFFFFSaiu do Servidor!', getRootElement(), 255, 0, 0, true) elseif (reason == "Timed out") then local M = "Erro conexao" outputChatBox('#9370DB[#008B8BINFO#9370DB]#FFD700: ' .. '#abcdec[#ffff00' .. M .. '#abcdec]#00FF00 ' .. getPlayerName(source) .. ' #FFFFFFSaiu do Servidor!', getRootElement(), 255, 0, 0, true) end end )
-
try no tested --server function setMusicForPlayer(source, command, trackNumber) --Load player vehicle local playerVehicle = getPedOccupiedVehicle(source); --Is player driving a car now? if playerVehicle then --Is player entering a track number. if (trackNumber ~= '') then local TN = tonumber(trackNumber) --Is value of track number being a natural number and >= 1 and < 3. if (TN >= 1 and TN < 3) then --Get the coordinates of player vehicle local pvX, pvY, pvZ = getElementPosition(playerVehicle) Sound = triggerClientEvent(root,"StartSounds",source,TN,pvX,pvY,pvZ) --Check for successfull load. if (Sound) then attachElements(Sound,source,0,0,0) outputChatBox("Track #"..TN.." is now playing in a music player.", source, 255, 0, 0, true) else outputChatBox("Error loading tracks", source, 255, 0, 0, true) end else outputChatBox("Track number enters incorrect!", source, 255, 0, 0, true) end else outputChatBox("You didn't enter a track number!", source, 255, 0, 0, true) end else outputChatBox("You don't turn a music player if you are not in the vehicle!", source, 255, 0, 0, true) end end addCommandHandler("sm", setMusicForPlayer) --client addEvent("StartSounds",true) addEventHandler("StartSounds",root, function(track,pvX, pvY, pvZ) if not(Sound) then local Sound = playSound3D( 'music_tracks/'..track..'.mp3', pvX, pvY, pvZ) setSoundMaxDistance(Sound, 100) return Sound end end)
-
try change "myFont" to myFont in dx
-
try function setMusicForPlayer(source, command, trackNumber) --Load player vehicle local playerVehicle = getPedOccupiedVehicle(source); --Is player driving a car now? if playerVehicle then --Is player entering a track number. if (trackNumber ~= nil) then TN = tonumber(trackNumber) --Is value of track number being a natural number and >= 1 and < 3. if ((TN ~= nil) and (TN >= 1 and TN < 3)) then --Get the coordinates of player vehicle local pvX, pvY, pvZ = getElementPosition(playerVehicle) --Load sound file local Sound = playSound3D( 'music_tracks/'..TN..'.mp3', pvX, pvY, pvZ) attachElements(Sound,source,0,0,0) --Check for successfull load. if (Sound) then setSoundMaxDistance(Sound, 100); outputChatBox("Track #"..TN.." is now playing in a music player.", source, 255, 0, 0, true) else outputChatBox("Error loading tracks", source, 255, 0, 0, true) end else outputChatBox("Track number enters incorrect!", source), 255, 0, 0, true) end else outputChatBox("You didn't enter a track number!", source, 255, 0, 0, true) end local pvX, pvY, pvZ = getElementPosition(playerVehicle) else outputChatBox("You don't turn a music player if you are not in the vehicle!", source, 255, 0, 0, true) end end addCommandHandler("sm", setMusicForPlayer)
-
Ajuda VoteManager
manawydan replied to Fabricio_Kastor's topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
acredito que o votemanager tem uma função que + ou - isso. -
whats is source? i think you can use one table with all players in the server.
-
[BR/PT] sN | scorpioN Games 1.0
manawydan replied to JhowFreelancer's topic in Servidores para jogar
boa sorte!!! -
try use this https://community.multitheftauto.com/in ... ls&id=5957