renzuzu / renzu_shops

Fivem Advanced Shops with stocks and player owned shops using ox_inventory , ox_lib. Item metadata supports and item customisation.
GNU General Public License v3.0
81 stars 37 forks source link

literally everyone can see my owned business and access my funds or either make there self an employee #101

Closed ljdunn00 closed 1 year ago

renzuzu commented 1 year ago

Not actionable without information

ljdunn00 commented 1 year ago

wym bro they can literally come in and take and spend my money and if u mean info by me basically i own the dealership i had a random join my server and take 5m out the dealer ship

renzuzu commented 1 year ago

well thats weird, it should not happen. i will verify this, probably something with new job function checking..

renzuzu commented 1 year ago

it seems this does not exist on me. only the owner can see marker or targets of My Store function

can you tell me your framework?

ljdunn00 commented 1 year ago

esx

ljdunn00 commented 1 year ago

si i deleted my owner ship and rebought it made new player and i cant view it so i think maybe it good will have other players test and btw anything i shoul delete using renzu_shops because i like the vehicle lua u got and no longer wanna use esx vehicle shop

renzuzu commented 1 year ago

i cant reproduce any issue you have.

you probably need to provide clip of step by step.

ljdunn00 commented 1 year ago

naw im saying other players cant view the store nomore i think it was my db i deleted my ownershhip seems fine now

renzuzu commented 1 year ago

so is there any issue your experiencing?

ljdunn00 commented 1 year ago

well how do i cross out the blimps for the shop i had Cookies = { name = 'ZaZa Cookies', -- blip = { -- id = 403, colour = 69, scale = 0.8 }, inventory = { { name = 'banana_kush_joint', price = 45 }, { name = 'lighter', price = 2 }, { name = 'gelato_runtz', price = 70 }, { name = 'blue_dream_joint', price = 60 } }, locations = { vec3(-933.44, -1178.32, 5.0) }, targets = {

    }
},

which doesnt work how does it work for ur script ?

renzuzu commented 1 year ago

removing blips is supported aafaik.

image

try removing it in defaultshops, ownedshop/cookie.lua

this is the correct way

name = 'ZaZa Cookies',
-- blip = {
-- id = 403, colour = 69, scale = 0.8
--}, 
inventory = {
{ name = 'banana_kush_joint', price = 45 },
{ name = 'lighter', price = 2 },
{ name = 'gelato_runtz', price = 70 },
{ name = 'blue_dream_joint', price = 60 }
}, locations = {
vec3(-933.44, -1178.32, 5.0)
}, targets = {
}
}

you forgot to remove the ending tags for syntax ` --},

ljdunn00 commented 1 year ago

nnaw that broke the shop name = 'ZaZa Cookies', -- blip = { -- id = 403, colour = 69, scale = 0.8 --}, inventory = { { name = 'banana_kush_joint', price = 45 }, { name = 'lighter', price = 2 }, { name = 'gelato_runtz', price = 70 }, { name = 'blue_dream_joint', price = 60 } }, locations = { vec3(-933.44, -1178.32, 5.0) }, targets = { } }

did it this way and it broke

ljdunn00 commented 1 year ago

YO I CANT ADD SHOPS NOW ?

renzuzu commented 1 year ago

you can, your just adding it in a wrong way..

when adding non businesss shops, add it on defaultshops.lua

if adding business shop

you need to add new file ex. Cookies.lua in /ownedshops/ and add that lua to /ownedshops/init.lua

add coordinates to /defaultshops by adding a new table line.

or use the shop creator with target disable.

ljdunn00 commented 1 year ago

shop creator where dats at

ljdunn00 commented 1 year ago

and i been adding shop just the blimp sht and ohhh wen i buy a car itdoesnt let me turn radio off after

renzuzu commented 1 year ago

/storeadmin or /stores

ljdunn00 commented 1 year ago

payment method false ? its works untill i restart the server