Jump to content

lucasvinicius

Members
  • Posts

    7
  • Joined

  • Last visited

lucasvinicius's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. Ele é um Script loja de assalto ele esta com alguns problemas então estou pedindo ajuda ele tem como assaltar de 2 jeitos caixa e cofre o Cofre quando assalto ele assalta por 2 segundos eu queria mudar o tempo mas não sei como muda o 2 erro é no caixa que quando assalta ele só solta o alarme eu gostaria que mandasse a masma info do cofre mas não sei mudar no script. Obrigado quem Respondeu. Script: --[[ ################################################ # # # Script Criado Por # # FACEBOOK.COM/AIRNEWSCR # # # # # ################################################ --]] -------------------------------------------------------------------------------------------- InteriorID = 0 DimensaoID = 0 BlipSemAssaltoID = 17 BlipAssaltoEmAndamento = 20 ValorDoRoubo1 = 4500 ValorDoRoubo1A = 5500 TempoDoAssalto = 120000 eX, eY, eZ = 1379.954, -1751.114, 13.547 sX, sY, sZ = 1375.826, -1751.235, 13.6 --SairX, SairY, SairZ, SairRot = 1852.30701 + 1, -1145.14099, 23.83357, 270 --EntrX, EntrY, EntrZ, EntrRot = -30.98231, -91.75459 + 1, 1003.54688, 0 AssaltoX, AssaltoY, AssaltoZ = 1377.181, -1745.383, 13.6 AtendID, AtendX, AtendY, AtendZ, AtendRot = 189, 1377.222, -1743.888, 13.6, 176 Rot_z_Roubo = AtendRot + 180 LetraParaMarkers = "f" Roubo_Recente_SuperMercadoLS = false -------------------------------------------------------------------------------------------- --Entrada_SuperMercadoLS = createMarker ( eX, eY, eZ -1, "cylinder", 1.2, 20, 70, 230, 0 ) BlipEntrada_SuperMercadoLS = createBlipAttachedTo ( Entrada_SuperMercadoLS, BlipSemAssaltoID ) setBlipVisibleDistance( BlipEntrada_SuperMercadoLS, 150 ) -------------------------------------------------------------------------------------------- --Saida_SuperMercadoLS = createMarker ( sX, sY, sZ -1, "cylinder", 1.2, 20, 70, 230, 95 ) --setElementInterior ( Saida_SuperMercadoLS, InteriorID ) --setElementDimension ( Saida_SuperMercadoLS, DimensaoID ) -------------------------------------------------------------------------------------------- local EmAssaltoBlip_SuperMercadoLS = createBlipAttachedTo ( Entrada_SuperMercadoLS, BlipAssaltoEmAndamento ) setElementVisibleTo ( EmAssaltoBlip_SuperMercadoLS, root, false ) -------------------------------------------------------------------------------------------- Dentro_Assalto_SuperMercadoLS = createMarker ( AssaltoX, AssaltoY, AssaltoZ -1, "cylinder", 1.2, 20, 70, 230, 95 ) setElementInterior ( Dentro_Assalto_SuperMercadoLS, InteriorID ) setElementDimension ( Dentro_Assalto_SuperMercadoLS, DimensaoID ) Atendente_SuperMercadoLS = createPed ( AtendID, AtendX, AtendY, AtendZ, AtendRot ) setElementInterior ( Atendente_SuperMercadoLS, InteriorID ) setElementDimension ( Atendente_SuperMercadoLS, DimensaoID ) setElementFrozen ( Atendente_SuperMercadoLS, true ) function RespawnDoAtendente () if isPedDead ( Atendente_SuperMercadoLS ) then setTimer(function() destroyElement (Atendente_SuperMercadoLS) Atendente_SuperMercadoLS = createPed ( AtendID, AtendX, AtendY, AtendZ, AtendRot ) setElementInterior ( Atendente_SuperMercadoLS, InteriorID ) setElementDimension ( Atendente_SuperMercadoLS, DimensaoID ) setElementFrozen ( Atendente_SuperMercadoLS, true ) end,5000,1,thePlayer) end end addEventHandler( "onPedWasted", getRootElement(), RespawnDoAtendente ) -------------------------------------------------------------------------------------------- function Roubar_SuperMercadoLS ( thePlayer, matchingDimension ) if isElementWithinMarker ( thePlayer, Dentro_Assalto_SuperMercadoLS ) then local wl = getPlayerWantedLevel ( thePlayer ) local arma = getPedWeapon ( thePlayer ) unbindKey ( thePlayer, LetraParaMarkers, "down", Roubar_SuperMercadoLS ) -- Remover Bind do Assalto exports.Scripts_OnMarkerMsgs_:delete (thePlayer) -- Deletar Mensagem no Meio da Tela if getElementData ( thePlayer, "Policia" ) == true then return exports.Scripts_Textos:createNewDxMessage ( 'Você é um Policial e não Pode Assaltar Lojas', thePlayer, 255, 255, 255) end if arma == 0 or arma == 1 or arma == 2 or arma == 3 or arma == 4 or arma == 5 or arma == 6 or arma == 7 or arma == 8 or arma == 9 or arma == 16 or arma == 17 or arma == 18 or arma == 39 or arma == 41 or arma == 42 or arma == 43 or arma == 10 or arma == 11 or arma == 12 or arma == 14 or arma == 15 or arma == 44 or arma == 45 or arma == 46 or arma == 40 then return exports.Scripts_Textos:createNewDxMessage ( 'Você Precisa de uma Arma de Fogo para Assaltar Essa Loja!', thePlayer, 255, 255, 255) end if Roubo_Recente_SuperMercadoLS == false then setElementRotation ( thePlayer, 0, 0, Rot_z_Roubo ) setPedAnimation ( thePlayer, "SHOP", "SHP_Gun_Aim", -1, true, false, true ) -- Fazer a Animação de Assalto ( Jogador ) setPedAnimation ( Atendente_SuperMercadoLS, "SHOP", "SHP_Rob_GiveCash", -1, true, false, true ) -- Fazer a Animação de Se Render ( BOT ) setTimer(function() setPedAnimation ( thePlayer ) setPedAnimation ( Atendente_SuperMercadoLS, "SHOP", "SHP_Rob_HandsUp", -1, true, false, true ) -- Entregar o Dinheiro ( BOT ) end,40000,1,thePlayer) if wl < 6 then setPlayerWantedLevel ( thePlayer, wl+1 ) -- Setar +1 Level de Procurado ( Jogador ) end triggerClientEvent ( root, "AirNew>LigarAlarme1", root, thePlayer ) -- Disparar o Alarme exports.Scripts_Textos:createNewDxMessage ( 'Aguarde 120 Segundos & Você podera Sair da Loja. A Policia Foi Notificada Sobre o Assalto!', thePlayer, 255, 255, 255) setElementData ( thePlayer, "AirNewSCR_Roubo_SuperMercadoLS", true ) -- setElementData "RouboEmAndamento" ( Jogador ) True Roubo_Recente_SuperMercadoLS = true -- Roubo_Recente_SuperMercadoLS = true setTimer(function() setElementData ( thePlayer, "AirNewSCR_Roubo_SuperMercadoLS", false ) -- setElementData "RouboEmAndamento" ( Jogador ) False setPedAnimation ( Atendente_SuperMercadoLS ) -- Remover a Animação ( BOT ) givePlayerMoney ( thePlayer, ValorDoRoubo1 ) -- Dar Dinheiro ( Jogador ) end,TempoDoAssalto,1,thePlayer) for i, player in ipairs(getElementsByType("player")) do local uj = getElementData(player,"Policia") or false if type(uj) == "boolean" then if uj == true then NickName = string.gsub(getPlayerName(thePlayer), "#%x%x%x%x%x%x", "") exports.Scripts_Textos:createNewDxMessage ( "O Jogador "..NickName.." Esta Assaltando uma Loja em Los Santos, Siga o Icone Vermelho no Mapa", player, 255, 255, 255) setElementVisibleTo ( EmAssaltoBlip_SuperMercadoLS, player, true ) setTimer ( function() setElementVisibleTo ( EmAssaltoBlip_SuperMercadoLS, player, false ) end, 120000, 1, thePlayer ) end end end else exports.Scripts_Textos:createNewDxMessage ( 'Essa Loja ja foi Roubada Recentemente!', thePlayer, 255, 255, 255) setTimer(function() Roubo_Recente_SuperMercadoLS = false end,TempoDoAssalto+60000,1,thePlayer) end end end function emarker(marker,md) if (md) then if marker == Dentro_Assalto_SuperMercadoLS then bindKey ( source, LetraParaMarkers, "down", Roubar_SuperMercadoLS ) exports.Scripts_OnMarkerMsgs_:create(source,"Aperte 'f' Parar Efetuar o Assalto") elseif marker == Entrada_SuperMercadoLS then if getElementType ( source ) == "vehicle" then return end if isPedInVehicle ( source ) then return end setTimer ( setElementInterior, 400, 1, source, InteriorID ) setTimer ( setElementDimension, 400, 1, source, DimensaoID ) setTimer ( setElementPosition, 400, 1, source, EntrX, EntrY, EntrZ ) setTimer ( setElementRotation, 600, 1, source, 0, 0, EntrRot ) fadeCamera ( source, false, 0.1, 0, 0, 0 ) setTimer ( fadeCamera, 600, 1, source , true, 0.5 ) setTimer ( setCameraTarget, 600, 1, source ) setElementData (source, "Entrada_AssaltoLoja", "SuperMercadoLS" ) elseif marker == Saida_SuperMercadoLS then if getElementType ( source ) == "vehicle" then return end if isPedInVehicle ( source ) then return end if not getElementData (source, "AirNewSCR_Roubo_SuperMercadoLS" ) == true then setTimer ( setElementInterior, 400, 1, source, 0 ) setTimer ( setElementDimension, 400, 1, source, 0 ) if getElementData ( source, "Entrada_AssaltoLoja" ) == "SuperMercadoLS" then setTimer ( setElementPosition, 400, 1, source, SairX, SairY, SairZ ) setTimer ( setElementRotation, 400, 1, source, 0, 0, SairRot ) end fadeCamera ( source, false, 0.1, 0, 0, 0 ) setTimer ( fadeCamera, 600, 1, source , true, 0.5 ) setTimer ( setCameraTarget, 600, 1, source ) else exports.Scripts_Textos:createNewDxMessage ( 'Aguarde o Assalto Terminar para Sair da Loja', source, 255, 255, 255) end end end end addEventHandler ( "onPlayerMarkerHit", getRootElement(), emarker ) function lmarker(marker,md) if (md) then if marker == Dentro_Assalto_SuperMercadoLS then unbindKey ( source, LetraParaMarkers, "down", Roubar_SuperMercadoLS ) exports.Scripts_OnMarkerMsgs_:delete(source) setTimer(restartResource, 360000, 1, getThisResource()) end end end addEventHandler("onPlayerMarkerLeave",getRootElement(),lmarker) --------------------------------------------------- Roubo ao Cofre -------------------------------------------------------------------- local Doorentryrob1 = createMarker(1363.682, -1754.184, 12.6, "cylinder", 1.5, 255, 255, 0, 0) createBlipAttachedTo(Doorentryrob1, 17, 2, 0, 255, 0, 0, 0, 7000) local robmarker1 = createMarker(1363.682, -1754.184, 12.6, "cylinder", 1.2, 255, 10, 10, 60) function msg1 (source) outputChatBox ("*Digite /roubar encima da marca vermelha para começar a roubar a loja.",source,255,255,255,true) end addEventHandler( "onMarkerHit", robmarker1, msg1 ) function duty1(thePlayer, matchingDimension) if isElementWithinMarker(thePlayer, robmarker1) then Estrelas = getPlayerWantedLevel ( thePlayer ) setPlayerWantedLevel ( thePlayer, Estrelas + 1 ) triggerClientEvent ( root, "AirNew>LigarAlarme3", root, thePlayer ) outputChatBox("#10DC6F● #828282[ #10DC6FLojas#828282 ] - #FFFFFFVocê está roubando a loja! aguarde alguns segundos ...", thePlayer, 0, 255, 0, true) triggerClientEvent(root, "RoboLoja", root, getPlayerName( thePlayer ) ) for i, player in ipairs(getElementsByType("player")) do if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( "Policial" ) ) then triggerClientEvent(root, "addNotification", root, "ATENÇÃO: ESTÃO ASSALTANDO O SUPERMERCADO AGC PRÓX. A PREFEITURA! ", "warning") end end setPedAnimation(thePlayer, "ROB_BANK", "CAT_Safe_Rob", -1, false, false, false, false) setElementData(thePlayer, "sitting", true) setTimer(Lojalossantos1, 180000, 1) setElementPosition(robmarker1, 3099.97, -3281.69, -0.5) do local aleatorio = math.random(30000,50000) local blip1 = createBlipAttachedTo(Doorentryrob1, 20, 2, 0, 255, 0, 0, 0, 7000) setTimer(setElementPosition, 420000, 1, robmarker1, 1363.682, -1754.184, 12.6) setTimer(function() local dsujasso = tonumber(aclGetGroup ( "Gang" )) or 0 aclGetGroup(thePlayer, "Gang", dsujasso+aleatorio) end, 40000, 1) setTimer(destroyElement, 420000, 1, blip1) givePlayerMoney ( thePlayer, ValorDoRoubo1A ) end else outputChatBox("", source, 255, 0, 0) setTimer(restartResource, 360000, 1, getThisResource()) end end addCommandHandler("roubar", duty1) function Doorerob1(player) if source == Doorentryrob1 and getElementType(player) == "player" then if (getElementType(player) == "player") then local vehicle = getPedOccupiedVehicle(player) local playerAccount = getPlayerAccount(player) if (not vehicle) then if (playerAccount) then if (not isGuestAccount(playerAccount)) then end end end end end end addEventHandler("onMarkerHit", getRootElement(), Doorerob1) ------------------------------------------------------------------------------------------------------------------------------------------------- function SaveSuperMercadoLSEntrada(conta) if conta then local source = getAccountPlayer(conta) local emp = getElementData(source,"Entrada_AssaltoLoja" ) or false setAccountData (conta, "Entrada_AssaltoLoja",emp) end end function LoadSuperMercadoLSEntrada(conta) if not (isGuestAccount (conta)) then if (conta) then local source = getAccountPlayer(conta) local emp = getAccountData(conta,"Entrada_AssaltoLoja") or false setElementData (source, "Entrada_AssaltoLoja", emp) end end end -------------------------------------------------------------------------------------------- addEventHandler("onPlayerLogin", root, function( _, acc ) setTimer(LoadSuperMercadoLSEntrada,50,1,acc) end ) function IniciarScriptTeleSuperMercadoLS ( res ) if res == getThisResource() then for i, player in ipairs(getElementsByType("player")) do local acc = getPlayerAccount(player) if not isGuestAccount(acc) then LoadSuperMercadoLSEntrada(acc) end end end end addEventHandler ( "onResourceStart", getRootElement(), IniciarScriptTeleSuperMercadoLS ) function DesligarScriptTeleSuperMercadoLS ( res ) if res == getThisResource() then for i, player in ipairs(getElementsByType("player")) do local acc = getPlayerAccount(player) if not isGuestAccount(acc) then SaveSuperMercadoLSEntrada(acc) end end end end addEventHandler ( "onResourceStop", getRootElement(), DesligarScriptTeleSuperMercadoLS ) function SairScriptTeleSuperMercadoLS ( quitType ) local acc = getPlayerAccount(source) if not (isGuestAccount (acc)) then if acc then SaveSuperMercadoLSEntrada(acc) end end end addEventHandler ( "onPlayerQuit", getRootElement(), SairScriptTeleSuperMercadoLS ) --------------------------------------------------------------------------------------------
  2. eu queria saber como mudar isso addEvent("TS:IniciarAssalto2", true) e isso addEventHandler("TS:IniciarAssalto2", root, ComecarAAssaltar) não consigo mudar eles por causa do cliente oque faço?
  3. --------- Variaveis local PedLoja = createPed(154, 438.42263793945, -1504.3651123047, 18.458513259888) setElementRotation(PedLoja, -0, 0, 284.044) setElementFrozen(PedLoja, true) local BlipLoja = createBlipAttachedTo(PedLoja, 17) local BlipLojaAssalta = createBlipAttachedTo(PedLoja, 18) setElementVisibleTo(BlipLojaAssalta, root, false) local DinheiroAdicionado = 2000 --Dinheiro roubado quando assaltar ---- Sistema function IniciarAssalto (Ped) if Ped == PedLoja then local arma = getPedWeapon ( source ) if arma == 0 or arma == 1 or arma == 2 or arma == 3 or arma == 4 or arma == 5 or arma == 6 or arma == 7 or arma == 8 or arma == 9 or arma == 16 or arma == 17 or arma == 18 or arma == 39 or arma == 41 or arma == 42 or arma == 43 or arma == 10 or arma == 11 or arma == 12 or arma == 14 or arma == 15 or arma == 44 or arma == 45 or arma == 46 or arma == 40 then return end if getElementData(source, "TS:Assaltando") then return end if getElementData(Ped, "TS:Assaltando") then triggerClientEvent(source, "addNotification", root, "#0037FF✘#ffffffINFO#0037FF✘➺ #ffffffEssa loja foi assaltada recentemente!", "info") return end local x, y, z = getElementPosition( source ) local x1, y1, z1 = getElementPosition( Ped ) local distance = getDistanceBetweenPoints3D( x, y, z, x1, y1, z1 ) if distance >= 3 then return end triggerClientEvent(source, "TS:PainelAssalto2", source) end end addEventHandler ("onPlayerTarget", root, IniciarAssalto) function ComecarAAssaltar (source) if getElementData(source, "TS:Assaltando") then return end local arma = getPedWeapon ( source ) if arma == 0 or arma == 1 or arma == 2 or arma == 3 or arma == 4 or arma == 5 or arma == 6 or arma == 7 or arma == 8 or arma == 9 or arma == 16 or arma == 17 or arma == 18 or arma == 39 or arma == 41 or arma == 42 or arma == 43 or arma == 10 or arma == 11 or arma == 12 or arma == 14 or arma == 15 or arma == 44 or arma == 45 or arma == 46 or arma == 40 then return end for id, Policial in ipairs(getElementsByType("player")) do if isObjectInACLGroup ( "user." ..getAccountName (getPlayerAccount(Policial)), aclGetGroup ( "Assaltar" ) ) then triggerClientEvent(Policial, "TS:MensagemPolicial2", Policial) setElementData(source, "TS:Assaltando", true) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(PedLoja, "SHOP", "SHP_Rob_GiveCash", -1, false) setElementFrozen(source, true) toggleAllControls(source, false) setElementPosition(source, 439.91415405273, -1504.0450439453, 18.458513259888) setElementRotation(source, -0, 0, 100.156) setElementData(PedLoja, "TS:Assaltando", true) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) LojaAssaltada(source) setTimer(function() setPedAnimation(source, nil) setPedAnimation(PedLoja, nil) setElementFrozen(source, false) toggleAllControls(source, true) local Dinheiro = getPlayerMoney ( source ) setPlayerMoney (source, Dinheiro + DinheiroAdicionado ) setElementData(source, "TS:Assaltando", false) end, 1*60000, 1) end end end addEvent("TS:IniciarAssalto2", true) addEventHandler("TS:IniciarAssalto2", root, ComecarAAssaltar) function LojaAssaltada(source) setElementVisibleTo(BlipLoja, root, false) setElementVisibleTo(BlipLojaAssalta, root, true) setTimer(function() setElementVisibleTo(BlipLoja, root, true) setElementVisibleTo(BlipLojaAssalta, root, false) setElementData(PedLoja, "TS:Assaltando", false) end, 7*60000, 1 ) end
  4. "Ex: tem muitos carros espalhados pelo mapa sem ninguém dentro, da /limpar no chat que todos os carros sem players somem" se puder pode colocar com uma acl só pra Admin . Obrigado
  5. quero uma acl para o assalto e uma para os policiais verem que a loja esta sendo assaltada
  6. eu não sei muito de script mais achei esse na net ele ta como arquivo Server.lua ele é um script de assalto o que tem nele é que quando vc ta na acl (ComandosPolicial) ele assalta e tudo mais eu queria separar a acl ex:deixar esse ComandosPolicial para os policiais verem a loja sendo assaltada e uma outra acl ex:Assalto para os bandidos assaltaram pois quando assalta todos na acl que esta no momento conseguem ver que ta tendo assalto ou seja quero que os bandidos não vejam tem como me ajudarem? esse é o script: --------- Variaveis local PedLoja = createPed(0, 2479.603515625, -1741.4840087891, 13.546875) setElementRotation(PedLoja, -0, 0, 284.044) setElementFrozen(PedLoja, true) local BlipLoja = createBlipAttachedTo(PedLoja, 17) local BlipLojaAssalta = createBlipAttachedTo(PedLoja, 18) setElementVisibleTo(BlipLojaAssalta, root, false) local DinheiroAdicionado = 2000 --Dinheiro roubado quando assaltar ---- Sistema function IniciarAssalto (Ped) if Ped == PedLoja then local arma = getPedWeapon ( source ) if arma == 0 or arma == 1 or arma == 2 or arma == 3 or arma == 4 or arma == 5 or arma == 6 or arma == 7 or arma == 8 or arma == 9 or arma == 16 or arma == 17 or arma == 18 or arma == 39 or arma == 41 or arma == 42 or arma == 43 or arma == 10 or arma == 11 or arma == 12 or arma == 14 or arma == 15 or arma == 44 or arma == 45 or arma == 46 or arma == 40 then return end if getElementData(source, "TS:Assaltando") then return end if getElementData(Ped, "TS:Assaltando") then triggerClientEvent(source, "addNotification", root, "#0037FF✘#ffffffINFO#0037FF✘➺ #ffffffEssa loja foi assaltada recentemente!", "info") return end local x, y, z = getElementPosition( source ) local x1, y1, z1 = getElementPosition( Ped ) local distance = getDistanceBetweenPoints3D( x, y, z, x1, y1, z1 ) if distance >= 3 then return end triggerClientEvent(source, "TS:PainelAssalto2", source) end end addEventHandler ("onPlayerTarget", root, IniciarAssalto) function ComecarAAssaltar (source) if getElementData(source, "TS:Assaltando") then return end local arma = getPedWeapon ( source ) if arma == 0 or arma == 1 or arma == 2 or arma == 3 or arma == 4 or arma == 5 or arma == 6 or arma == 7 or arma == 8 or arma == 9 or arma == 16 or arma == 17 or arma == 18 or arma == 39 or arma == 41 or arma == 42 or arma == 43 or arma == 10 or arma == 11 or arma == 12 or arma == 14 or arma == 15 or arma == 44 or arma == 45 or arma == 46 or arma == 40 then return end for id, Policial in ipairs(getElementsByType("player")) do if isObjectInACLGroup ( "user." ..getAccountName (getPlayerAccount(Policial)), aclGetGroup ( "ComandosPolicia" ) ) then triggerClientEvent(Policial, "TS:MensagemPolicial2", Policial) setElementData(source, "TS:Assaltando", true) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(PedLoja, "SHOP", "SHP_Rob_GiveCash", -1, false) setElementFrozen(source, true) toggleAllControls(source, false) setElementPosition(source, 397.9880065918, -1522.498046875, 32.2734375) setElementRotation(source, -0, 0, 100.156) setElementData(PedLoja, "TS:Assaltando", true) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) setPedAnimation(source, "SHOP", "ROB_Loop", -1, false) LojaAssaltada(source) setTimer(function() setPedAnimation(source, nil) setPedAnimation(PedLoja, nil) setElementFrozen(source, false) toggleAllControls(source, true) local Dinheiro = getPlayerMoney ( source ) setPlayerMoney (source, Dinheiro + DinheiroAdicionado ) setElementData(source, "TS:Assaltando", false) end, 1*60000, 1) end end end addEvent("TS:IniciarAssalto2", true) addEventHandler("TS:IniciarAssalto2", root, ComecarAAssaltar) function LojaAssaltada(source) setElementVisibleTo(BlipLoja, root, false) setElementVisibleTo(BlipLojaAssalta, root, true) setTimer(function() setElementVisibleTo(BlipLoja, root, true) setElementVisibleTo(BlipLojaAssalta, root, false) setElementData(PedLoja, "TS:Assaltando", false) end, 7*60000, 1 ) end
×
×
  • Create New...