Closed operationairstrike closed 3 months ago
do you even have VERSION in the script folder...
I have all files sir
Do you want a screenshot 😂
folder name is discord
does it matter?
Yes it does. It needs to be "FiveM-Discord-Presence" or else Line 7 returns nil and there's your issue.
I'm really sorry. Thanks for the fixes tho. I will rename it on line 7, I guess?
I was thinking about this yesterday, and i think it's true that it's 99% of the time the user that is too dumb to use it and not the code.😂💀
Yo you may add a line to the readme so that people know.
It's not the user, its me.
I coded it with hardcoded variables.
Fair point I thought about using $PATH somehow to automatically get the path it's in yk. That would be awesome tbh.
I changed it and there's seems to be no error now
I suggest using $PATH in the code
Yo the 1.9 didnt fix it, now i get: [ script:discord] SCRIPT ERROR: @discord/server/server.lua:12: attempt to compare string with nil [ script:discord] > userCallback (@discord/server/server.lua:12)