[ESX - ENG/DE] myDrugs - GTA:O styled and perfect for RP (PAID)

You did change the script with an editor, which doesn’t support UTF-8, so you broke the file.
Simply replace your files again with the original files and ONLY use an editor, which definately supports UTF-8 like Visual Studio Code or similar :slight_smile:

Hey,

My friend is next to my farm entry, but i can´t see them in the list

Hey,

please enables Config.useOneSyncInfinity. This will change the way how your script checks for the players in the environment

it doesnt let me buy farms but they on the map

Hey,

I guess you didn’t install the correct version of NativeUi.
Be sure to check your readme file and reinstall the correct version.

Best regards,
Luis

I cant invite players , players doenst show up when i press invite

Hey,

Enable useOneSyncInfinity in the Config

I don’t have that in my cfg? Do i have a old version or something ? Because i wanna fix this .

When you don’t have this option you’ve got an old version.
I’ll send you instructions on how to update.

1 Like

hello we have a big problem, unfortunately the weed plants are not displayed

sorry for my bad english ^^

Helllo core1987, are you the owner of the roleplay server amsterdam? i need help please

What about servers not using onesync infinity? Im using the base paid cfx.re subscription that comes with normal onesync

That’s absolutely no problem.
This script works with OneSync Infinity and non infinity

I figured as much… awesome script man! well done :call_me_hand:

1 Like

Something is wrong with this. I get an error that says
Error loading script client.lua in resource myDrugsFiveM: @myDrugsFiveM/client.lua10: attempt to index a nil value (global ‘NativeUI’) stack traceback: @myDrugsFiveM/client.lua10: in main chunk

Also I’m completely unsure how to start this as non of the entrances show on the map at the locations marked, but I can TP into the coords. Thank you for any help.

nice!

Figured out the other issue now what shows up is
SCRIPT ERROR: @myDrugs/client.lua309: attempt to call a nil value (method ‘Remove’)

buyFarmMenu (@myDrugs/client.lua:309)
fn (@mydrugs/client.lua:142)

Can anyone help with this? It looks like it’s somehow leading back to the original question I asked as it’s regarding the menu that should pop-up I’m guessing…?

I’ve now fixed that issue, but now an error occurs saying
SCRIPT ERROR: @myDrugs/client.lua818: attempt to index a nil value (local 'farmOwnerUpdated’)

handler (@myDrugs/client.lua:818)

This one I can’t seem to figure out. Any help would be great.

Hey,

this error sounds like your sql isn’t correctly imported.
Please also check the links in your readme files for further support. There we are able to help faster.

Best regards,
Luis