-----------------------/ LOJA ASSALTAR - AVISAR POLICIAL \-----------------------
function Loja_Assaltada (source)
setElementVisibleTo(Blip_Loja, root, false)
setElementVisibleTo(Blip_Assaltada, root, true)
for i, players in pairs(getElementsByType("player")) do
if isObjectInACLGroup("user. "..getAccountName(getPlayerAccount(players)), aclGetGroup (Grupo_Acl_Policial)) then
exports.a_infobox:addBox(players, "info", "O jogador "..getPlayerName(source).." Está assaltando A Loja #02 em Los Santos.")
end
setTimer(function()
setElementVisibleTo(Blip_Loja, root, true)
setElementVisibleTo(Blip_Assaltada, root, false)
setElementData(source, "Zeed_Loja_Assaltada", false)
end, Tempo_Recuperar_Loja*60000, 1)
end
end