Hello. I’m new in cript server. All is good and when I connect to a server my character loads well and I have all the menus, no problem. But when a new person enters the city, she can only make her VISA. She doesn’t have anithings menu. You can help me ? Thank you! pb|690x388

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the FiveM community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Your organization resource is breaking their loadin. You’ll need to dig into that resource to find out what’s going wrong.

1 Like

Thank you, and where i can see that ? :slight_smile:

The files are located in the esx_organisation directory inside the resources directory.

I confess that I am new in this area, I followed all the facilities literally, and it does not work anymore. I am in the file but I do not understand where it can come from, can you tell me how to do it? Thank you very muchpb2

I can’t tell you the specifics because I’ve never used the resource but I can tell you the general steps for working on an issue like this(nil value)

Look at the resource name, filename and line number( in this case, resource name esx_organisation, file main.lua located in the server directory, line number 39). This is your starting point for beginning to troubleshoot.

Once you’re there, you’ll see a line that’s trying to do something with a variable. That variable is supposed to contain a value but it’s empty(also called a nil value). You want to find what is supposed to be providing that value and figure out why it’s not. You can do this via various methods but print statements will play a big part in this.

If the variable is called myVariable, then you would find where it’s supposed to be creating the variable above that line where it’s supposed to be generating the var and use a print statement to see what’s in it.

print('myVar value is: ' .. myVariable)

Will print a line in your server terminal telling you what’s inside that variable. If it’s nil(empty), then you need to work further up the chain ahead of that code until you find out what the root cause of the problem is.

It’s a hard concept to grasp initially but as you do this more often(and you will be doing it more often if you continue running a server), you will become more proficient at it. You’ll pick up some tricks that make it a less painful experience.

Thank you so much. I am very touched by the attention you pay me. I’ll watch this right now? I keep you informed, stay there aha! Thank you so much !

when i’m here what i do ?

And in my panel i’hve this :

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.