Is there anyway to change this code
CreateThread(function()
while true do
local ped = GetPlayerPed(-1)
local pos = GetEntityCoords(ped)
local closest, dist, position = closestStore()
if dist < radius_coord then
if not openned then
OpenStore(closest)
openned = true
end
elseif dist < 50.0 then
pos_close = position
marker = stores[closest].marker
drawn_marker = true
openned = false
else
drawn_marker = false
pos_close = nil
marker = nil
openned = false
end
Wait(2000)
end
end)
so that i instead need to press e in order to open the shop?
I bought your script back in December and sent you an email to your address provided in the script file and it bounced saying there is no email address. I confirmed the email both there and on here and is the same.
Is this an issue? Is there another way I can contact you for some support please?
It’s a whole store script, but this is the static version, where players go to the store and just buy items (which are defined in the Config.lua file).
If you want a script where players can own the store, you can look at our other script:
We use the same interface, but we’ve added several features where the player can buy a store and manage it. These stores are not just Supermarket, you can create other stores however you like.