marcofp04 Posted May 26, 2019 Share Posted May 26, 2019 Quando eu digito não "t" aparece uma tag como na impressão, mas quando digito não / twitter etc nao aparece alguem me ajuda, sou leigo em script Preciso de ajuda por favor https://imgur.com/8zh2JjC entra no print e me ajuda por favor Link to comment
Moderators DNL291 Posted May 26, 2019 Moderators Share Posted May 26, 2019 Você precisa editar o script que tenha esses comandos. Aqui um tópico similar: https://forum.multitheftauto.com/topic/115982-editar-chat-t/ Link to comment
marcofp04 Posted May 26, 2019 Author Share Posted May 26, 2019 (edited) 7 minutes ago, DNL291 said: Você precisa editar o script que tenha esses comandos. Aqui um tópico similar: https://forum.multitheftauto.com/topic/115982-editar-chat-t/ mano pode entrar no meu sv mtasa://177.23.137.158:22013 nao tem nada pra baixa praticamente PORFAVOR Edited May 26, 2019 by marcofp04 Link to comment
Moderators DNL291 Posted May 26, 2019 Moderators Share Posted May 26, 2019 Não posso agora e não tenho por que entrar, como já disse, você já deve estar usando esse script no seu servidor então é só modificar a outputChatBox. Link to comment
marcofp04 Posted May 26, 2019 Author Share Posted May 26, 2019 9 hours ago, DNL291 said: Não posso agora e não tenho por que entrar, como já disse, você já deve estar usando esse script no seu servidor então é só modificar a outputChatBox. function MensagemTwitter(source, cmd, ...) local MessagemT = table.concat ( { ... }, " " ) local name = getPlayerName(source); for _,v in ipairs(getElementsByType("player")) do outputChatBox("#00BFFF[ Twitter ] #FFFFFF "..name.." #FFFFFF: #00BFFF"..MessagemT,v, 255, 255, 255, true) --efeito no chat end end addCommandHandler("twitter", MensagemTwitter) function MensagemAnon(source, cmd, ...) local MessagemANS = table.concat ( { ... }, " " ); for _,v in ipairs(getElementsByType("player")) do outputChatBox("#ffffff[ #696969 Anônimo #ffffff] #696969"..MessagemANS,v, 255, 255, 255, true) --efeito no chat end end addCommandHandler("anonimo", MensagemAnon) function MensagemRP(source, cmd, ...) local MessagemFRP = table.concat ( { ... }, " " ); local name = getPlayerName(source); for _,v in ipairs(getElementsByType("player")) do outputChatBox("#000000[ #ffffff Fora RP #000000] "..name.." #ffffff"..MessagemFRP,v, 255, 255, 255, true) --efeito no chat end end addCommandHandler("rp", MensagemRP) addEventHandler("onPlayerJoin", getRootElement(), function() bindKey(source, "k", "down", "chatbox", "anonimo")--bind end ) addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() for index,player in pairs(getElementsByType("player")) do bindKey(player,"k", "down", "chatbox", "anonimo") --bind end end ) addEventHandler("onPlayerJoin", getRootElement(), function() bindKey(source, "u", "down", "chatbox", "twitter") --bind end ) addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() for index,player in pairs(getElementsByType("player")) do bindKey(player,"u", "down", "chatbox", "twitter") --bind end end ) addEventHandler("onPlayerJoin", getRootElement(), function() bindKey(source, "i", "down", "chatbox", "rp") --bind end ) addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() for index,player in pairs(getElementsByType("player")) do bindKey(player,"i", "down", "chatbox", "rp") --bind end end ) ISSO E O CHAT (anonimo, twitter, rp...) Link to comment
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