Stronger Posted August 24, 2015 Posted August 24, 2015 (edited) Galera Gostaria de Saber que comando devo usar para que o jogador não possa utilizar o painel Freeroam em um dimensão X ? Edited September 14, 2015 by Guest
BonSay~^ Posted August 24, 2015 Posted August 24, 2015 Galera Gostaria de Saber que comando devo usar para que o jogador não possa utilizar o painel Freeroam em um dimensão X ? No arquivo fr_client.lua, substitua a funçao toggleFRWindow por esta local forbiddenDimensions = {1,2,3} -- dimensões proibidas function toggleFRWindow() if isWindowOpen(wndMain) then showCursor(false) hideAllWindows() colorPicker.closeSelect() else for k, v in ipairs(forbiddenDimensions) do if v == getElementDimension(localPlayer) then return end end showCursor(true) showAllWindows() end end Daqui pra frente vai ser tudo diferente ♫ ♩
Banex Posted August 24, 2015 Posted August 24, 2015 Galera Gostaria de Saber que comando devo usar para que o jogador não possa utilizar o painel Freeroam em um dimensão X ? No arquivo fr_client.lua, substitua a funçao toggleFRWindow por esta local forbiddenDimensions = {1,2,3} -- dimensões proibidas function toggleFRWindow() if isWindowOpen(wndMain) then showCursor(false) hideAllWindows() colorPicker.closeSelect() else for k, v in ipairs(forbiddenDimensions) do if v == getElementDimension(localPlayer) then return end end showCursor(true) showAllWindows() end end https://forum.multitheftauto.com/viewtopic.php?f ... 32#p792332 Not worry about the future. Very soon it will come.
BonSay~^ Posted August 24, 2015 Posted August 24, 2015 Galera Gostaria de Saber que comando devo usar para que o jogador não possa utilizar o painel Freeroam em um dimensão X ? No arquivo fr_client.lua, substitua a funçao toggleFRWindow por esta local forbiddenDimensions = {1,2,3} -- dimensões proibidas function toggleFRWindow() if isWindowOpen(wndMain) then showCursor(false) hideAllWindows() colorPicker.closeSelect() else for k, v in ipairs(forbiddenDimensions) do if v == getElementDimension(localPlayer) then return end end showCursor(true) showAllWindows() end end Feito por Banex so colei oque ele tinha feito em outro post Daqui pra frente vai ser tudo diferente ♫ ♩
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now