Jump to content

Search the Community

Showing results for tags 'comandos'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 8 results

  1. function tpbloods(playerSource) if isObjectInACLGroup("user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup("Staff")) then if getElementData(playerSource, "Expediente-STAFF") == "Sim" then if not Flying[playerSource] then Flying[playerSource] = true setElementAlpha(playerSource, 0) triggerClientEvent(playerSource, "onClientFlyToggle", playerSource) end setElementPosition(playerSource, 2219.984, -1143.273, 25.797) setElementRotation(playerSource, 0, 0, 353.328) showInfobox(playerSource, "Você teleportou na base Bloods", "success") else atendimento(playerSource) end end end addCommandHandler("tpbloods", tpbloods) function tpgrove(playerSource) if isObjectInACLGroup("user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup("Staff")) then if getElementData(playerSource, "Expediente-STAFF") == "Sim" then if not Flying[playerSource] then Flying[playerSource] = true setElementAlpha(playerSource, 0) triggerClientEvent(playerSource, "onClientFlyToggle", playerSource) end setElementPosition(playerSource, 2463.633, -1659.423, 13.311) setElementRotation(playerSource, 0, 0, 88.373) showInfobox(playerSource, "Você teleportou na base da Grove", "success") else atendimento(playerSource) end end end addCommandHandler("tpgrove", tpgrove) function tpcrips(playerSource) if isObjectInACLGroup("user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup("Staff")) then if getElementData(playerSource, "Expediente-STAFF") == "Sim" then if not Flying[playerSource] then Flying[playerSource] = true setElementAlpha(playerSource, 0) triggerClientEvent(playerSource, "onClientFlyToggle", playerSource) end setElementPosition(playerSource, 2183.58, -1761.268, 13.375) setElementRotation(playerSource, 0, 0, 359.602) showInfobox(playerSource, "Você teleportou na base Crips", "success") else atendimento(playerSource) end end end addCommandHandler("tpcrips", tpcrips) function tpsiliciana(playerSource) if isObjectInACLGroup("user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup("Staff")) then if getElementData(playerSource, "Expediente-STAFF") == "Sim" then if not Flying[playerSource] then Flying[playerSource] = true setElementAlpha(playerSource, 0) triggerClientEvent(playerSource, "onClientFlyToggle", playerSource) end setElementPosition(playerSource, 2418.157, -2009.204, 13.396) setElementRotation(playerSource, 0, 0, 90.592) showInfobox(playerSource, "Você teleportou na base Siliciana", "success") else atendimento(playerSource) end end end addCommandHandler("tpsiliciana", tpsiliciana) ---------------------------------------------------------------------------------------------------------------------------- function showInfobox(element, message, tipo) exports["[HYPE]NOTIFY"]:addNotification(element, message, tipo) end atendimento = function (element) return triggerClientEvent(element, "HypeNotify", element, "Você não está em modo atendimento use /pro", "error") end Basicamente são vários comandos que executam basicamente a mesma função eu gostaria que fosse menor tipo executar o comando e o nome da base ai ele puxar a posição da base e teleportar pequeno exemplo abaixo bases = {{yakuza, 2418.157, -2009.204, 13.396 }, {bloods, 1234.09, -2029.24, 13.396 }}
  2. bom, eu estou criando uma agencia de emprego e quero colocar pra quando o player escolher o trabalho ele digitar um comando tipo, /info, e ai vai aparece no mapa dele o destino que ele tem que ir, alguém pode me ajudar ? Inglish version: well, i'm creating an employment agency and i want to put it when the player chooses the job he types a command like, / info, and then the destination he has to go appears on his map, can someone help me?
  3. Eu quero criar um comando parecido com esse: function SkinPrivK13_1 ( player ) local accName = getAccountName ( getPlayerAccount (player) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "PrivadosK13" ) ) then setElementModel(player, 123) setElementData(player, "k13",123) end end addCommandHandler("k13", SkinPrivK13_1) Só que em vez de pegar a skin eu quero pegar um carro ex: Eu quero colocar o comando /meucarroexclusivo ai o carro aparece tlg mas só quem tem tag que poderá pegar esse carro... Ai aparece no chat somente para o player que executou o comando... "Você pegou seu carro exclusivo com sucesso" ALGUÉM ME AJUDA
  4. Galera,queria saber como eu posso fazer um sistema de solicitaçao em LUA,tipo,fazer um player dar um comando para outro player aceitar, EX:/assaltar (ID) no outro player /aceitarassalto,sou novato e queria um script base para aprender,ahhh,ia me esquecendo,tipo o assaltante conseguisse ver o money do player,so que esses player (assaltantes) nao poderiam usar nas suas gangues ou outras,ai perderia a essencia do RP,agradeço desde ja
  5. Preciso de ajuda para transferir um texto copiado para um lugar em específico No servidor drift paradise, há um sistema que pode escrever no carro com fontes, porém eu quero colar um texto que copiei (não grande, só de umas 2 palavras) só que não consigo de jeito nenhum, alguém sabe se tem algum comando que faça isso sem o CTRL V?
  6. presizo de ajuda com as permiçoes do meu servidor de RPG ponho tudo serto mais nao consigo fazer o painel broquear as permiçoes que eu quero !!!!! ME AJUDEM VO MANDA O LINK DO MEU ACL.xml https://drive.google.com/open?id=1xIshHjU5-5-tY3pUeV2GWLla0Fyze6q3
  7. Español Hola necesito Ayuda de como hacer un script para poner comandos a los team yo tengo un server de Zombies el problema que no se como hacer el sccript Ejemplo: yo quiero poner el comandos /chaleco a el Team Militar cuando un jugador nponga el comandos aparecera con el 50 de vida otra cosa que seria es /dsawn es poner la arma uzi recortada o tec-9 en doble que uno pueda tener algunas de esas armas en la mano del jugador si con otra cosa podrian ayudarme es como poner jetpack a el team por favor expliquenme me pueden dejar la funcion en sus comentarios por favor para mi seria de un agrado English Hi, I need help with how to make a script to put commands to the team. I have a Zombies server. The problem is that I do not know how to do the sccript. Example: I want to put the commands /armor to the Military Team when a player sends the commands. The 50th of another serious thing is /dsawn is to put the uzi clipped weapon or tec-9 in double that one can have some of those weapons in the player's hand if with another thing they could help me it is like putting jetpack to the team by Please explain to me I can leave the function in your comments please for my serious pleasure
×
×
  • Create New...