Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script ORGANIC GUIDELINES

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
6,954
Points
321
Age
20
Location
KOCHI
Rename
CashoutCore to
QBCore
IDK about the new qbcore stuff
i.e exports['qb-core']:getCoreObject()
 

BudakKampung

Gold Elite
Joined
Apr 14, 2021
Messages
405
Solutions
2
Reaction score
24,656
Points
281
Age
33
Location
Malaysia
Website
vfivem.com
No. I am not interested in having this for esx. So I didn't try for esx. You make a try if you want to.
already do .. but no work
ESX = nil

Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('ESX:GetObject', function(obj) ESX = obj end)
Citizen.Wait(200)
end
-------------- client.lua


ESX = nil
TriggerEvent('ESX:GetObject', function(obj) ESX = obj end)
---------------- server.lua
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
6,954
Points
321
Age
20
Location
KOCHI
already do .. but no work
ESX = nil

Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('ESX:GetObject', function(obj) ESX = obj end)
Citizen.Wait(200)
end
-------------- client.lua


ESX = nil
TriggerEvent('ESX:GetObject', function(obj) ESX = obj end)
---------------- server.lua
Ok then. Post it here with the virus total. Let's see.
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
6,954
Points
321
Age
20
Location
KOCHI
Look at line 76 and line 85
local ilosc = math.random(10,10)
xPlayer.Functions.AddItem('orangea', ilosc)
-----------------------------------------
TriggerClientEvent("inventory:client:ItemBox", _source, ESX.Shared.Items['orangea'], "add")
local ilosc = math.random(10, 10)
xPlayer.addInventoryItem("orange", ilosc)
 

BudakKampung

Gold Elite
Joined
Apr 14, 2021
Messages
405
Solutions
2
Reaction score
24,656
Points
281
Age
33
Location
Malaysia
Website
vfivem.com
Look at line 76 and line 85
local ilosc = math.random(10,10)
xPlayer.Functions.AddItem('orangea', ilosc)
-----------------------------------------
TriggerClientEvent("inventory:client:ItemBox", _source, ESX.Shared.Items['orangea'], "add")
local ilosc = math.random(10, 10)
xPlayer.addInventoryItem("orange", ilosc)
script:qb-fruitpik] SCRIPT ERROR: @qb-fruitpik/server/fruit_s.lua:13: attempt to index a nil value (global 'ESX')
[ script:qb-fruitpik] > handler (@qb-fruitpik/server/fruit_s.lua:13)
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
6,954
Points
321
Age
20
Location
KOCHI
script:qb-fruitpik] SCRIPT ERROR: @qb-fruitpik/server/fruit_s.lua:13: attempt to index a nil value (global 'ESX')
[ script:qb-fruitpik] > handler (@qb-fruitpik/server/fruit_s.lua:13)
ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX=obj end)
---- OR ----

Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX=obj end)
)
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
6,954
Points
321
Age
20
Location
KOCHI
tôi có phiên bản esx nếu bạn cần
That would be easy if you can make a release.
Edit: (Translated to english) i have the esx version if you need it
 

BudakKampung

Gold Elite
Joined
Apr 14, 2021
Messages
405
Solutions
2
Reaction score
24,656
Points
281
Age
33
Location
Malaysia
Website
vfivem.com
ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX=obj end)
---- OR ----

Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX=obj end)
)
[ script:qb-fruitpik] SCRIPT ERROR: @qb-fruitpik/server/fruit_s.lua:85: attempt to compare nil with number
 
Last edited:
Top