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 End of Target System, New Proximity System!

Respown

Gold Elite
Joined
Aug 3, 2021
Messages
192
Solutions
1
Reaction score
98,705
Points
306
Location
root
Hi guys, this is a simple to use "proximity system" script. I hope you like it, it's completely open source and can be easily embedded into basically any script!

This script is “standalone” but will require ESX / QB-Core to authorize!
Example usage:
This includes all parameters, you can not write the ones you don't care about and it will just use the default value!
Code:

Code:
exports["zerio-proximityprompt"]:AddNewPrompt({
name = "testprompt", -- unique name, like some kind of "id"
job = "police", -- If you want to set an occupation restriction. Remove if you want everyone to see it.
objecttext = "World", -- Parent title
actiontext = "Interact with something", -- Text
holdtime = 5000, -- the amount of time in milliseconds you need to hold the action to perform
key = "E", -- Key to press
position = vector3(0.0, 0.0, 0.0), -- Position
params = {"test", "data"}, -- this is passed to the usage callback as shown below
usage = function(data) -- function that executes when you use the affinity prompt
print("Proximity prompt used, following paragraphs passed: " .. json.encode(data))
end,
drawdist = 3, -- max distance to see prompt
usagedist = 1.5 -- max distance to see prompt
})


Promotional Video:


 

hoxhahoxha

Silver Elite
Joined
Jun 20, 2022
Messages
21
Reaction score
5
Points
166
Location
Sweden
Hi guys, this is a simple to use "proximity system" script. I hope you like it, it's completely open source and can be easily embedded into basically any script!

This script is “standalone” but will require ESX / QB-Core to authorize!
Example usage:
This includes all parameters, you can not write the ones you don't care about and it will just use the default value!
Code:

Code:
exports["zerio-proximityprompt"]:AddNewPrompt({
name = "testprompt", -- unique name, like some kind of "id"
job = "police", -- If you want to set an occupation restriction. Remove if you want everyone to see it.
objecttext = "World", -- Parent title
actiontext = "Interact with something", -- Text
holdtime = 5000, -- the amount of time in milliseconds you need to hold the action to perform
key = "E", -- Key to press
position = vector3(0.0, 0.0, 0.0), -- Position
params = {"test", "data"}, -- this is passed to the usage callback as shown below
usage = function(data) -- function that executes when you use the affinity prompt
print("Proximity prompt used, following paragraphs passed: " .. json.encode(data))
end,
drawdist = 3, -- max distance to see prompt
usagedist = 1.5 -- max distance to see prompt
})


Promotional Video:


*** Hidden text: cannot be quoted. ***
Nice man
 

enekoo

Member
Joined
Jul 6, 2021
Messages
8
Reaction score
0
Points
146
Hi guys, this is a simple to use "proximity system" script. I hope you like it, it's completely open source and can be easily embedded into basically any script!

This script is “standalone” but will require ESX / QB-Core to authorize!
Example usage:
This includes all parameters, you can not write the ones you don't care about and it will just use the default value!
Code:

Code:
exports["zerio-proximityprompt"]:AddNewPrompt({
name = "testprompt", -- unique name, like some kind of "id"
job = "police", -- If you want to set an occupation restriction. Remove if you want everyone to see it.
objecttext = "World", -- Parent title
actiontext = "Interact with something", -- Text
holdtime = 5000, -- the amount of time in milliseconds you need to hold the action to perform
key = "E", -- Key to press
position = vector3(0.0, 0.0, 0.0), -- Position
params = {"test", "data"}, -- this is passed to the usage callback as shown below
usage = function(data) -- function that executes when you use the affinity prompt
print("Proximity prompt used, following paragraphs passed: " .. json.encode(data))
end,
drawdist = 3, -- max distance to see prompt
usagedist = 1.5 -- max distance to see prompt
})


Promotional Video:


*** Hidden text: cannot be quoted. ***
ooou
 

Ur_Dad_PAM

Member
Joined
Jun 25, 2022
Messages
8
Reaction score
1
Points
156
Location
Africa
Hi guys, this is a simple to use "proximity system" script. I hope you like it, it's completely open source and can be easily embedded into basically any script!

This script is “standalone” but will require ESX / QB-Core to authorize!
Example usage:
This includes all parameters, you can not write the ones you don't care about and it will just use the default value!
Code:

Code:
exports["zerio-proximityprompt"]:AddNewPrompt({
name = "testprompt", -- unique name, like some kind of "id"
job = "police", -- If you want to set an occupation restriction. Remove if you want everyone to see it.
objecttext = "World", -- Parent title
actiontext = "Interact with something", -- Text
holdtime = 5000, -- the amount of time in milliseconds you need to hold the action to perform
key = "E", -- Key to press
position = vector3(0.0, 0.0, 0.0), -- Position
params = {"test", "data"}, -- this is passed to the usage callback as shown below
usage = function(data) -- function that executes when you use the affinity prompt
print("Proximity prompt used, following paragraphs passed: " .. json.encode(data))
end,
drawdist = 3, -- max distance to see prompt
usagedist = 1.5 -- max distance to see prompt
})


Promotional Video:


*** Hidden text: cannot be quoted. ***
 

Attrixx2

Member
Joined
Jun 14, 2021
Messages
4
Reaction score
0
Points
146
Dude stop reposting a free script that I made lmao
 
Top