Download new v2
/dealer command
Download old v1
press [E] to sell
Requirements
es_extended
/dealer command
press [E] to sell
es_extended
flagged so it can get moved to the right location
in releases
20charrrr
This script is not working. The console say:
Error loading script locales/pl.lua in resource stasiek_selldrugss: locales/pl.l
ua:12: attempt to index a nil value (global 'Locales')
stack traceback:
locales/pl.lua:12: in main chunk
Failed to load script locales/pl.lua.
Error loading script locales/en.lua in resource stasiek_selldrugss: locales/en.l
ua:12: attempt to index a nil value (global 'Locales')
stack traceback:
locales/en.lua:12: in main chunk
Failed to load script locales/en.lua.
Try to download the latest version of plugin. Did you change something in script?
Also change folder name from ‘stasiek_selldrugss’ to ‘stasiek_selldrugs’
No. I tryed more names, nothing is working.
it’s working, just modify __resources.lua :
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
server_scripts {
'server/main.lua',
}
client_scripts {
'@es_extended/locale.lua',
'locales/pl.lua',
'locales/en.lua',
'client/main.lua',
'config.lua'
}
But server need to check Config variables. Is it works?
After a few minutes there was an error, I’ll try with that:
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
server_scripts {
'server/main.lua',
'config.lua'
}
client_scripts {
'@es_extended/locale.lua',
'locales/pl.lua',
'locales/en.lua',
'client/main.lua',
'config.lua'
}
( it’s works )
Ok thank you. Does dispatch works? You can check this with your friend(police)
No, it does not work
Give your self a police job and set ‘showcopsmisbehave = true’ in ‘client/main.lua’ at line 199 to true. It work
Remember dispatch is only 40% chance to work, also when ped ‘REJECT’ your offer! Its important
Ok there was a problem in script, sorry. Now download new version and dispatch schould work perfect!
Yes it works, good job!
Give my post a please
Okay , by knowing how to make sure that the police are 100% notified ?
Give me a second I have to edit script to easy change it
Config.CallCopsPercent = 3 – (min1) if 1 cops will be called every time=100%, 2=50%, 3=33%, 4=25%, 5=20%
Config.PedRejectPercent = 2 – (min1) if 1 ped reject offer=100%, 2=50%, 3=33%, 4=25%, 5=20%