I have a dictionary in my module that looks like this:
{
["Option"] = "Leave",
["Redirect"] = "FishDealer_Spawn_Leave",
["Function"] = nil,
}
When I access this dictionary in my script, only [“Option”] shows up. I tried printing directly using the command line, but that doesn’t work either. I don’t know why this happens, and all help is appreciated. Thanks!
jellolemo
(jellolemo)
March 2, 2025, 9:27pm
#2
[“Function”] = nil,
to
[“Function”] = nil
(remove the comma)
I tried with and without the comma before, forgot to mention
jellolemo
(jellolemo)
March 2, 2025, 9:29pm
#4
Can you show us the whole print script please?
I just tried it and for whatever reason it started working. It’s probably something on my end since Studio has been bugging with me a lot lately
scripting is pain but what can we do
jellolemo
(jellolemo)
March 2, 2025, 9:30pm
#6
Ok, glad your problem is solved!
1 Like
system
(system)
Closed
March 16, 2025, 9:31pm
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.