ExtremeSB Posted September 6, 2013 Posted September 6, 2013 Boa tarde eu adicionei o admin-tag ao meu server freeroam e agr quando escrevo aparece a imagem repetida, alguem sabe o que fazer, para tirar ou desabilitar chat original?
manawydan Posted September 6, 2013 Posted September 6, 2013 acredito que voce tera que modificar o freeroam "Querer não é poder, mas tentar é avançar"!
ExtremeSB Posted September 6, 2013 Author Posted September 6, 2013 Ja soube resolver mas agr nao me lembro
DNL291 Posted September 7, 2013 Posted September 7, 2013 Abra o script fr_server.lua no recurso freeroam, e remova (ou deixe como comentário) isto: addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 0 then cancelEvent() if chatTime[source] and chatTime[source] + tonumber(get("*chat/mainChatDelay")) > getTickCount() then outputChatBox("Stop spamming main chat!", source, 255, 0, 0) return else chatTime[source] = getTickCount() end if get("*chat/blockRepeatMessages") == "true" and lastChatMessage[source] and lastChatMessage[source] == msg then outputChatBox("Stop repeating yourself!", source, 255, 0, 0) return else lastChatMessage[source] = msg end local r, g, b = getPlayerNametagColor(source) outputChatBox(getPlayerName(source) .. ': #FFFFFF' .. msg:gsub('#%x%x%x%x%x%x', ''), g_Root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. msg ) end end ) Please do not PM me with scripting related question nor support, use the forums instead.
ExtremeSB Posted September 7, 2013 Author Posted September 7, 2013 Obrigado vc sempre me ajuda Por acaso aquilo quando selecciono carro e fico logo dentro dele também é de editar aqui?
DNL291 Posted September 7, 2013 Posted September 7, 2013 Você quer que o jogador se teleporte para dentro do veículo quando ele criar um? Se for isso, abra o script fr_server.lua e coloque isso depois da função createVehicle (deve estar na linha 328): warpPedIntoVehicle(source, vehicle) Please do not PM me with scripting related question nor support, use the forums instead.
ExtremeSB Posted September 7, 2013 Author Posted September 7, 2013 Pode por o paragrafo todo onde devo mudar, pk como paguei aquilo do chat agr as linhas estao mal
DNL291 Posted September 7, 2013 Posted September 7, 2013 É tão difícil assim de encontrar onde está a função createVehicle? Não seja preguiçoso. Ctrl + f --> createVehicle --> Enter, e procure onde a função está destacada. Ou procure navegando pelo script mesmo. Please do not PM me with scripting related question nor support, use the forums instead.
Stack69Games Posted May 16, 2015 Posted May 16, 2015 cara manda o seu admin tag? o meu veio incompleto,e eu tambem ja tentei muitas vezes tirar mais n consigo coloca pra download?
ChicoRDL Posted November 12, 2015 Posted November 12, 2015 Ajudou me a lembrar onde tinha de encontrar as linhas correctas. Obrigado DNL291 Retired of MTA Ex-Admin Minister of GTi GTi Open source - https://forum.mtasa.com/viewtopic.php?f=108&t=96020#p860833
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