Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Zirix 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mixzira committed Jun 19, 2020
1 parent e8c3a7c commit 6dc7272
Show file tree
Hide file tree
Showing 27 changed files with 89 additions and 48 deletions.
21 changes: 10 additions & 11 deletions zirix-data/resources/[nav]/nav_profs/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
fx_version 'bodacious'
fx_version 'adamant'
game 'gta5'

author 'MixZira'
contact 'E-mail: mixzira@outlook.com.br - Discord: MixZira#0001'
version '1.0.0'
author 'Ziraflix Dev Group'
contact 'E-mail: contato@ziraflix.com - Discord: discord.gg/6p3M3Cz'
version '1.0.4'

ui_page 'nui/zirix.html'
ui_page 'nui/darkside.html'

client_scripts {
'@vrp/lib/utils.lua',
'hansolo.lua'
'hansolo/*.lua'
}

server_scripts {
Expand All @@ -18,9 +18,8 @@ server_scripts {
}

files {
'nui/zirix.html',
'nui/zirix.js',
'nui/zirix.css',

'nui/imags/garrafavazia.png'
'nui/*.html',
'nui/*.js',
'nui/*.css',
'nui/**/*'
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
----------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
----------------------------------------------------------------------------------------------------------
local menuactive = false
function ToggleActionMenu()
menuactive = not menuactive
Expand Down Expand Up @@ -34,7 +38,7 @@ local lojas = {
Citizen.CreateThread(function()
SetNuiFocus(false,false)
while true do
Citizen.Wait(1)
local idle = 1000

for k,v in pairs(lojas) do
local ped = PlayerPedId()
Expand All @@ -43,19 +47,22 @@ Citizen.CreateThread(function()
local distance = GetDistanceBetweenCoords(v.x,v.y,cdz,x,y,z,true)
local lojas = lojas[k]

if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), lojas.x, lojas.y, lojas.z, true ) <= 2 then
DrawText3D(lojas.x, lojas.y, lojas.z, "[~b~E~w~] Para acessar a ~b~LOJA DE UTENSÍLIOS~w~.")
if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), lojas.x, lojas.y, lojas.z, true ) < 1.2 then
DrawText3D(lojas.x, lojas.y, lojas.z, "Pressione [~b~E~w~] para acessar a ~b~LOJA DE UTENSÍLIOS~w~.")
end

if distance <= 15 then
if distance <= 5 then
DrawMarker(23, lojas.x, lojas.y, lojas.z-0.99, 0, 0, 0, 0, 0, 0, 0.7, 0.7, 0.5, 101, 212, 255, 150, 0, 0, 0, 0)
idle = 5
if distance <= 1.2 then
if IsControlJustPressed(0,38) then
ToggleActionMenu()
end
end
end
end

Citizen.Wait(idle)
end
end)
-----------------------------------------------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<!DOCTYPE html>
<!--------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
--------------------------------------------------------------------------------------------------------->
<html>
<head>
<meta charset="UTF-8">
<title>Loja de acessórios Zirix</title>
<link rel="stylesheet" type="text/css" href="zirix.css">
<link rel="stylesheet" type="text/css" href="theforce.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,500,700,900&display=swap" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
</head>
Expand All @@ -22,7 +25,7 @@
<div class="itemSessao item-item" category="lanches">
<div class="item-info">
<div class="fotoItem">
<img src="imags/garrafavazia.png">
<img src="imagens/garrafavazia.png">
</div>
<div class="tituloItem">
<p><b>Garrafa Vazia</b> - $10</p>
Expand All @@ -39,6 +42,6 @@
</div>

</div>
<script src="zirix.js" type="text/javascript"></script>
<script src="lightsaber.js" type="text/javascript"></script>
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*--------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
--------------------------------------------------------------------------------------------------------*/
$(function() {
init();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*--------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
--------------------------------------------------------------------------------------------------------*/
body {
position: absolute;
width: 100%;
Expand Down
4 changes: 4 additions & 0 deletions zirix-data/resources/[nav]/nav_profs/skywalker.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
----------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
----------------------------------------------------------------------------------------------------------
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
vRP = Proxy.getInterface("vRP")
Expand Down
18 changes: 9 additions & 9 deletions zirix-data/resources/[nav]/nav_uniforme-medico/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
fx_version 'bodacious'
fx_version 'adamant'
game 'gta5'

author 'MixZira'
contact 'E-mail: mixzira@outlook.com.br - Discord: MixZira#0001'
version '1.0.0'
author 'Ziraflix Dev Group'
contact 'E-mail: contato@ziraflix.com - Discord: discord.gg/6p3M3Cz'
version '1.0.4'

ui_page 'nui/ui.html'

client_scripts {
'@vrp/lib/utils.lua',
'client.lua'
'hansolo/*.lua'
}

server_scripts {
'@vrp/lib/utils.lua',
'server.lua'
'skywalker.lua'
}

files {
'nui/ui.html',
'nui/ui.js',
'nui/ui.css'
'nui/*.html',
'nui/*.js',
'nui/*.css'
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
----------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
----------------------------------------------------------------------------------------------------------
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
vRP = Proxy.getInterface("vRP")
Expand Down Expand Up @@ -56,7 +60,7 @@ local armarios = {
Citizen.CreateThread(function()
SetNuiFocus(false,false)
while true do
Citizen.Wait(1)
local idle = 1000

for k,v in pairs(armarios) do
local ped = PlayerPedId()
Expand All @@ -65,19 +69,21 @@ Citizen.CreateThread(function()
local distance = GetDistanceBetweenCoords(v.x,v.y,cdz,x,y,z,true)
local armarios = armarios[k]

if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), armarios.x, armarios.y, armarios.z, true ) <= 2 then
if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), armarios.x, armarios.y, armarios.z, true ) < 1.2 then
DrawText3D(armarios.x, armarios.y, armarios.z, "[~g~E~w~] Para acessar o ~g~armário de uniformes~w~.")
end

if distance <= 30 then
if distance <= 5 then
DrawMarker(23,armarios.x,armarios.y,armarios.z-0.97,0,0,0,0,0,0,1.0,1.0,0.5,20,20,20,240,0,0,0,0)
idle = 5
if distance <= 1.2 then
if IsControlJustPressed(0,38) and Resg.checkPermissao() then
ToggleActionMenu()
end
end
end
end
Citizen.Wait(idle)
end
end)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<script src="nui://game/ui/jquery.js" type="text/javascript"></script>
<link href="ui.css" rel="stylesheet" type="text/css"/>
<link href="theforce.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="actionmenu">
Expand All @@ -16,6 +16,6 @@
<button class="menuoption" data-action="fechar">fechar</button>
</div>
</div>
<script src="ui.js" type="text/javascript"></script>
<script src="lightsaber.js" type="text/javascript"></script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
----------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
----------------------------------------------------------------------------------------------------------
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
local Tools = module("vrp","lib/Tools")
Expand Down
20 changes: 10 additions & 10 deletions zirix-data/resources/[nav]/nav_uniforme-policia/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
fx_version 'bodacious'
fx_version 'adamant'
game 'gta5'

author 'MixZira'
contact 'E-mail: mixzira@outlook.com.br - Discord: MixZira#0001'
version '1.0.0'
author 'Ziraflix Dev Group'
contact 'E-mail: contato@ziraflix.com - Discord: discord.gg/6p3M3Cz'
version '1.0.4'

ui_page 'nui/ui.html'
ui_page 'nui/darkside.html'

client_scripts {
'@vrp/lib/utils.lua',
'client.lua'
'hansolo/*.lua'
}

server_scripts {
'@vrp/lib/utils.lua',
'server.lua'
'skywalker.lua'
}

files {
'nui/ui.html',
'nui/ui.js',
'nui/ui.css'
'nui/*.html',
'nui/*.js',
'nui/*.css'
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
----------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
----------------------------------------------------------------------------------------------------------
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
vRP = Proxy.getInterface("vRP")
Expand Down Expand Up @@ -56,7 +60,7 @@ local armarios = {
Citizen.CreateThread(function()
SetNuiFocus(false,false)
while true do
Citizen.Wait(1)
local idle = 1000

for k,v in pairs(armarios) do
local ped = PlayerPedId()
Expand All @@ -65,19 +69,21 @@ Citizen.CreateThread(function()
local distance = GetDistanceBetweenCoords(v.x,v.y,cdz,x,y,z,true)
local armarios = armarios[k]

if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), armarios.x, armarios.y, armarios.z, true ) <= 2 then
if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), armarios.x, armarios.y, armarios.z, true ) < 1.2 then
DrawText3D(armarios.x, armarios.y, armarios.z, "[~g~E~w~] Para acessar o ~g~armário de uniformes~w~.")
end

if distance <= 30 then
if distance <= 5 then
DrawMarker(23,armarios.x,armarios.y,armarios.z-0.97,0,0,0,0,0,0,1.0,1.0,0.5,20,20,20,240,0,0,0,0)
idle = 5
if distance <= 1.2 then
if IsControlJustPressed(0,38) and Policia.checkPermissao() then
ToggleActionMenu()
end
end
end
end
Citizen.Wait(idle)
end
end)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<script src="nui://game/ui/jquery.js" type="text/javascript"></script>
<link href="ui.css" rel="stylesheet" type="text/css"/>
<link href="theforce.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="actionmenu">
Expand All @@ -16,6 +16,6 @@
<button class="menuoption" data-action="fechar">fechar</button>
</div>
</div>
<script src="ui.js" type="text/javascript"></script>
<script src="lightsaber.js" type="text/javascript"></script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
----------------------------------------------------------------------------------------------------------
--[ Esse script foi desenvolvido pela equipe da Ziraflix Dev Group, por favor mantenha os créditos ]--
--[ Contato: [email protected] Discord: discord.gg/6p3M3Cz ]--
----------------------------------------------------------------------------------------------------------
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
local Tools = module("vrp","lib/Tools")
Expand Down

0 comments on commit 6dc7272

Please sign in to comment.