I made custom script for giving myself weapons with /weapons. Everything worked fine when i wanted to add more weapons.The script contained only weapon_pistol so i wanted to add some assault rifles.When i restarted everything i tried to connect to server but i got: Couldn’t load resource.I made new script with copypaste and same thing happened. Someone got an idea what it might be?

Usually when it cant load a resource, you installed something wrong, re-check what you installed and how.

Any errors?
How you decline the variables?
Are you using a esx? Vrp?

I dont think that someone can help you with
“my Script doesnt work… Say me why”


You have provided us with no information to possibly help you.

1 Like

__resource.lua (125 Bytes)
functions.lua (421 Bytes)
vsichko.lua (373 Bytes)

you should use this code in __resource.lua

resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
client_scripts{ 
    'functions.lua'
    'vsichko.lua'
}

the most important thing is… dont forget the , in the vischko.lua :wink:

I still cannot understand you what do you mean by: and the most important thing is…dont forget the, vsichko.lua

What he means is put a comma after ‘functions.lua’

srsly this was the error… I cant believe how stupid I am. Thank you anders. :smiley:

No problem :slight_smile: i hate these , :smiley: