[HELP] Loadout script


#1

Trying to make a loadout script and keep getting this–

[C]: in function 'error’
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138


#2

That error message doesn’t have anything that could be used to debug the script.

What’s the full error? Is this client side or server side? It looks server side. What does the script look like?


#4

You issue is in your stringSplit(self, delimiter) function, or the data you’re feeding that function. You’re attempting to index a nil value, which means it is trying to account for a variable that does not exist.

I’m on mobile right now so I can’t really debug, but that will hopefully get you in the right direction


#6

idk why u removed you messages, i would be able to help better,

i helped this guy out earlier today, enjoy : )