[OLD-OUTDATED][Release] Loadout System

Did you import the .sql file in your database?

Weā€™re trying to make the script more dynamic for easier customizing. Will upload soon!

Realy good job , work perfectly !

Many Thanks :+1:

1 Like

Iā€™ve updated the script, as @Leah_UK said, to allow you to add custom loadouts.

Please see: [Release][ES] Loadouts (v2.2)

3 Likes

Iā€™ve linked the download to this post :wink:

Work perfetly !

Thanks:+1:

make everyone on erver change

Yeaā€¦ The latest version should fix this:

I have essential mode working however when i type /cop and /rebel nothing happens, Happen to no what i could have done wrong?

Loudout added to resources and in autorestart

If you have the plugin set up correctly you should see something like the image below

It could be that you donā€™t have the correct permissions for the commands (theyā€™re set in the ā€œloadouts.luaā€ file).

To set your permission, run the command

setadmin <ID> <PERMISSION>

from your console. E.g. setadmin 1 10

I have level 4 permissions

OK, are you seeing the messages from my other post in the console?

Just to point out Cop is at permission 0 however even with level 4 it still does not do anything

Double checking console now

This is what i get

My bad sorry was calling loudout instead of loadout lol

From what I can see from that image, the scripts arenā€™t loading at all.

Please can you do the following:

  • Place the ā€œloadoutā€ folder into another folder (called whatever) in the resources folder.
    • e.g. resources/custom_scripts/loadout - Contains the .lua files
  • Create a new file called ā€œ__resource.luaā€ (without quotes) in the folder that has ā€œloadoutā€
    • e.g. resources/custom_scripts/__resource.lua
  • Make sure the __resource.lua file contains the following:
server_scripts {
	'loadout/loadout.lua',
	'loadout/server.lua'
}
client_script 'loadout/client.lua'

That should workā€¦ Also, make sure the ā€œcustom_scriptsā€ folder is under the ā€œAutoStartResourcesā€ in the server config.
E.g.

AutoStartResources:
    -  custom_scripts

Edit: Ah, glad you fixed it :smiley:

Still didnt work trying the method above

Looks like the same errors i got last week preventing the resource from loading @Havoc.

@RIB, what does your loadout.lua file look like?

Havocs last method worked, thanks chaps

Question: i used the /cop and it spawned the gear on me, can we not then use/rebel? for example

Afaik you can switch to different loadouts all the time. Works like a charm for me.