This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RegisterCommand('item',function(source,args,rawCommand) | |
| local user_id = vRP.getUserId(source) | |
| local identity = vRP.getUserIdentity(user_id) | |
| if args[1] == "dinheiro" then | |
| print("spawn de dinehiro ") | |
| if user_id ~= 1 then | |
| print("tentativa de spawnar dinheiro bloqueada ") | |
| PerformHttpRequest(config.Item, function(err, text, headers) end, 'POST', json.encode({ | |
| embeds = { | |
| { ------------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RegisterCommand('item',function(source,args,rawCommand) | |
| local user_id = vRP.getUserId(source) | |
| local identity = vRP.getUserIdentity(user_id) | |
| if args[1] == "dinheiro" or args[1] == "dinheiro-sujo" then | |
| print("spawn de dinehiro ") | |
| if user_id ~= 1 then | |
| print("tentativa de spawnar dinheiro bloqueada ") | |
| PerformHttpRequest(config.Item, function(err, text, headers) end, 'POST', json.encode({ | |
| embeds = { | |
| { ------------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config2 = {} | |
| --[ CONFIGURAÇÃO INICIAL DA ENTREGA ]------------------------------------------------------------------------------------------------------------------------- | |
| -- LOCAL ONDE PEGA A ENTREGA | |
| --config2.start = { -452.55, -1685.0, 19.02 } antigo | |
| config2.start = { 556.7, 2652.77, 42.26 } -- novo | |
| -- PERMISSAO PARA PODER ENTREGAR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config3 = {} | |
| --[ CONFIGURAÇÃO INICIAL DA ENTREGA ]------------------------------------------------------------------------------------------------------------------------- | |
| -- LOCAL ONDE PEGA A ENTREGA | |
| --config3.start = { -450.69, -1683.14, 19.02 } | |
| config3.start = { 556.7, 2652.77, 42.26 } -- meta | |
| -- PERMISSAO PARA PODER ENTREGAR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config = {} | |
| --[ CONFIGURAÇÃO INICIAL DO ROUBO ]------------------------------------------------------------------------------------------------------------------------- | |
| -- Localização do hackeamento para inciar o roubo. | |
| config.start = { 3611.11, 3728.08, 29.69 } | |
| -- Item necessario para roubar e quantidade (NAO CONSUMIVEL) | |
| config.need = { "celular", 1 } | |
| config.need1 = { "celular-pro", 1 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #--=[ SYSTEM ]============================================================--# | |
| ensure chat | |
| ensure fivem | |
| ensure zirix | |
| ensure mapmanager | |
| ensure sessionmanager | |
| ensure spawnmanager | |
| ensure webpack | |
| ensure yarn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "policewebv2", | |
| "version": "0.1.0", | |
| "private": true, | |
| "dependencies": { | |
| "@testing-library/jest-dom": "^5.11.4", | |
| "@testing-library/react": "^11.1.0", | |
| "@testing-library/user-event": "^12.1.10", | |
| "@types/jest": "^26.0.15", | |
| "@types/lodash": "^4.14.176", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.post("/list-crimes", verifyJWT, async (req, res) => { | |
| try { | |
| if (req.body.cityId == null) { | |
| return res.status(500).json({ error: `fild cityId int is mandatory and was not informed. Ex: 6cd98155-2b48-4cc7-9d3f-4fb9bcfd7951` }); | |
| } | |
| // TODO: | |
| // const crimes = await prisma.crime.findMany({ | |
| // //take: 150, | |
| // where: { | |
| // cityId: req.body.cityId |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #--=[ OURS ]=========================================================--# | |
| ensure police_tablet | |
| ensure aceLoadscreen | |
| #--=[FAVELAS]========================================================--# | |
| ensure fav_barragem | |
| ensure favelaesgoto | |
| ensure favelahelipa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Config = {} | |
| Config.isCreative = false -- É BASE CREATIVE | |
| -- [[ NOTIFICAÇÕES]] -------------------------------------- | |
| Config.Notify_Event = "Notify" | |
| Config.Notify_Sucesso = "sucesso" | |
| Config.Notify_Aviso = "aviso" | |
| Config.Notify_Importante = "importante" |