Jump to content

TavinhoMTA

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

0 Neutral

About TavinhoMTA

  • Rank
    Rat

Details

  • Gang
    Lua ( Aprendiz )
  • Location
    Brasil
  • Interests
    Conhecimento

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. function PilotoDeHelicopteroAirNew ( player ) (tostring (player)) accountname = getAccountName (getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then TudoInvisivel () setElementVisibleTo ( PilotoDeHelicoptero, source, true ) setElementData ( source, "AirNew>Encaminhamento", "Piloto De Helicoptero" ) MensagemAirNewSCR ( "Emprego: Para Iniciar os Serviços siga o Checkpoint Vermelho em seu Minimapa", "success" ) triggerClientEvent ( source, "AirNew>FecharAgencia", root ) setElemen
  2. Da esse erro syntax error near 'accountname' Linha 222
  3. function PilotoDeHelicopteroAirNew ( player ) accountname = getAccountName (getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then TudoInvisivel () setElementVisibleTo ( PilotoDeHelicoptero, source, true ) setElementData ( source, "AirNew>Encaminhamento", "Piloto De Helicoptero" ) MensagemAirNewSCR ( "Emprego: Para Iniciar os Serviços siga o Checkpoint Vermelho em seu Minimapa", "success" ) triggerClientEvent ( source, "AirNew>FecharAgencia", root ) setElementData ( source, "Empr
  4. Preciso de ajuda em criar um Script de warp to player por comandos não sei como começar quais função usar ( Ex: /tp tavinho )
  5. Em questão do Cliente function localizarMecanico(cn,id) local jobMecanico = getElementData(localPlayer,"Emprego") or false --if type(jobMecanico) == "boolean" then if jobMecanico == "Mecanico" then if type(id) == "string" then local player = getPlayerID(id) if testeMecanico then if player then if player ~= source then destroyElement(testeMecanico) end if getElementData ( player, "Chamado:Mecanico" ) == true then testeMecanico = createBlipAttachedTo(player,61,2,255,255,255,255,0,999999) exports.Scripts_Dxmessages:createNotification("O Jogador "..getPlayerName(player).." Foi Localizado!, Pa
  6. Deu certo acho que peguei a logica agora Muito Obrigado DNL
  7. local HQMecanicoBlip = createBlip ( 206.11905, -260.74591, 1.36875 ) setElementVisibleTo ( HQMecanicoBlip, root, false ) -------------------------------------------------------------------- function VerificarBlipEmprego(player) if player then acc = getPlayerAccount ( player ) if isGuestAccount ( acc ) then return end setElementVisibleTo ( HQMecanicoBlip, player, false ) end end setTimer( function() for i, pl in pairs(getElementsByType("player")) do if pl ~= (false or nil) then if getElementData ( pl, "Emprego" ) == "Mecanico" then return end VerificarBlipEmprego(pl)
  8. function Start_Id ( _, acc ) if eventName == "onPlayerLogin" then setElementData ( source, "ID", getAccountID(acc) or "N/A" ) elseif eventName == "onPlayerLogout" then removeElementData( source, "ID" ) elseif eventName == "onResourceStart" then for _, player in pairs(getElementsByType("player")) do local acc = getPlayerAccount(player) if not isGuestAccount(acc) then setElementData( source, "ID", getAccountID(acc) or "N/A" ) end end end end addEventHandler("onResourceStart", resourceRoot, Start_Id) addEventHandler("onPlayerLogout", root, Start_Id) addEventHandler("onPla
  9. Como posso ta mudando algo para ID do Player de vez eu colocar o Nome
  10. --[[ ################################################ # # # Script Criado Por # # FACEBOOK.COM/AIRNEWSCR # # # # # ################################################ --]] ------------------------------------------------- InteriorDP = 6 DimensaoDP = 0 Cmd01 = "a" -- Algema Cmd02 = "d" -- Desalgema Cmd03 = "c" -- Retira Armas Grupo = "Policial" Distancia_Comandos = 7 Deixar_Preso = createMarker
  11. --[[ ################################################ # # # Script Criado Por # # FACEBOOK.COM/AIRNEWSCR # # # # # ################################################ --]] -------------------------------------------------------------------------------------------- --[[ exports [ "BVB_NewScoreboard" ]:addScoreboardColumn ( "Level" ) exports [ "BVB_NewScoreboard" ]:addScoreboardColumn ( "Tempo Online" )
  12. function advogadoAirNew ( LV ) local Level = getElementData ( source, "Level" ) or 0 if isObjectInACLGroup ( "user.", aclGetGroup ( "Console" ) ) then TudoInvisivel () setElementVisibleTo ( Advogado, source, true ) setElementData ( source, "AirNew>Encaminhamento", "Advogado" ) MensagemAirNewSCR ( "Emprego: Para Iniciar os Serviços siga o Checkpoint Vermelho em seu Minimapa", "success" ) triggerClientEvent ( source, "AirNew>FecharAgencia", root ) setElementData ( source, "Emprego", false ) else MensagemAirNewSCR ( "Emprego: Você não
×
×
  • Create New...