Anyone else had an issue with the store robbing script not detecting when people are cops?
Hello guys and first thanks for this share.
Things works pretty well but i have an issue and i donât understand whatâs going wrong so if you can help me youâre welcome.
http://hpics.li/2a24eed
It seems my essentialmode is not able to get the object user from the database or something like that.
Here unfortunately this is so too
Have you changed from âessentialmodeâ to âes_roleplayâ in your map __resource.lua file?
hello, thank you for u help me
in my c:\cfx-server\resources[essential]\es_roleplay\ __resource.lua
And on :
and on :
update
EDIT: Nvm, Iâm blind as a bat haha
I donât know, my knowledge ainât that wide :S
I just set the gamemode in the âfivem-map-skaterâ, to get it working.
It works, except that has every customer, I have all these errors, I can not identify where it comes from. I disable a lot of things in my hand, I think it must be es_roleplay but not on. I have to do the test soon
Ok my problem is SQL⌠The files SQL as create table strange⌠i have clear and now is good.
itâs normal for text ^* or ^r etcâŚ?
for text â^2^â i need ressource specific?
TriggerClientEvent('chatMessage', source, 'AREA', {255, 0, 0}, "Welcome ^2^*" .. GetPlayerName(source) .. "^0!")
in chat : Welcome ^2^blawdi^0!
Spawn vehicle is X3 ><
TriggerClientEvent('chatMessage', source, 'AREA', {255, 0, 0}, "Welcome " .. GetPlayerName(source) .. "!")
Replace your line with that, to either remove color, or:
TriggerClientEvent('chatMessage', source, 'AREA', {255, 0, 0}, "Welcome ^2" .. GetPlayerName(source) .. "^0!")
To get colors.
For vehicle spawning X3, I canât answer that, because mine only spawn once. Did you touch the code after you placed the files? - If not touched, no idea at all.
Thx! For spaming is my fault, i have es_freeroam in citmp-server.yml. i have â#â and now its work.
Is it possible to save several cars per player?
And for text :
I have several mode script, I have to edit all? How did it come?
Fastest way to find it: Open Notepad++ and search for ^*
and remove that.
i try
And for Is it possible to save several cars per player? you have idea?
Got no idea to be honest, havenât looked in any of that code. So youâll have to wait for answers from other people
HumâŚ
Save Car have problem, in restart server player have no car owned. Bdd is correct
HELLO, how can change the compass, i donât find the file for this.
As a reminder :
You can buy a car and it will be saved until disconnected.
Once you reconnect there is an error in the server:
I think itâs because he can not check the âownerâ in the vehicle table.
And if Iâm not mistaken itâs because of it: âWHERE owner = â@nameââ, {[â@nameâ] = user.identifier}) "
Precisely: user.identifier
Can anyone confirm?
hey, i have this error too, you have a fix for this or not ?
I thinks is user.identifier tooâŚ
and the error on essentialmod⌠a donât know
You should remove âes_freeroamâ in your AutoLoadRessource !