function openMyGate (Jogador)
if isElementWithinMarker(Jogador, markers[1]) then
setTimer( function ()
outputChatBox("" .. getPlayerName(Jogador) .. " #00ff88● #FFFFFFEsta tentando assaltar empresa da BRINKS agora",players,255,255,255,true)
moveObject ( objetos[1], 2500, 847.20001220703,-1371.5999755859, 22.700000762939 )
setElementPosition(markers[1], 848.06927490234 - 0.2, -1374.2985839844, 3000)
destroyElement(markers[1], root, false)
setTimer( function ()
ped1 = exports [ "slothBot" ]:spawnBot (830.59997558594, -1372, 25, 268, 163, 0, 0, nil , 38, "guarding" ) ---guarda parede 1
setTimer(function() exports ["slothbot"]:setBotAttackEnabled(ped1, true) end, 100, 1)
setTimer( function ()
ped2 = exports [ "slothBot" ]:spawnBot (830.59997558594, -1367, 25, 262, 164, 0, 0, nil , 31, "guarding" )--- guarda parede 2
setTimer(function() exports ["slothbot"]:setBotAttackEnabled(ped2, true) end, 100, 1)
setTimer( function ()
ped3 = exports [ "slothBot" ]:spawnBot (832.90002441406, -1364, 25, 180, 165, 0, 0, nil , 27, "guarding" )---guarda cliente 1
setTimer(function() exports ["slothbot"]:setBotAttackEnabled(ped3, true) end, 100, 1)
setTimer( function ()
ped4 = exports [ "slothBot" ]:spawnBot (838, -1363.9000244141, 25, 180, 166, 0, 0, nil , 31, "guarding" ) ---guarda client 2
setTimer(function() exports ["slothbot"]:setBotAttackEnabled(ped4, true) end, 250, 1)
ped9 = exports [ "slothBot" ]:spawnBot (843.29998779297, -1363.8000488281, 25, 186, 163, 0, 0, nil , 38, "guarding" ) ---guarda cliente 3
setTimer(function() exports ["slothbot"]:setBotAttackEnabled(ped9, true) end, 100, 1)
ped10 = exports [ "slothBot" ]:spawnBot (830.40002441406, -1375, 25, 262, 164, 0, 0, nil , 27, "guarding" ) ---guarda 1 parede gerente
setTimer(function() exports ["slothbot"]:setBotAttackEnabled(ped10, true) end, 100, 1)
ped11 = exports [ "slothBot" ]:spawnBot (830.5, -1383, 25, 286, 165, 0, 0, nil , 31, "guarding" ) ---guarda 2 parede gerente
setTimer(function() exports ["slothbot"]:setBotAttackEnabled(ped11, true) end, 100, 1)
end, 200, 1)
end, 200, 1)
end, 200, 1)
end, 200, 1)
end,4502, 1)
setPedRotation(Jogador, 87.794250488281)
setElementPosition(Jogador, 847.806640625, -1374.2625732422, 22.59531211853)
setPedAnimation(Jogador, "KISSING", "GF_CarSpot", 4500, false, false, false, false)
setTimer( function ()
triggerEvent(eventorestart, root)
end, 1000, 1)
end
end
addCommandHandler("arrombar",openMyGate)