Did you import the .sql file in your database?
Weāre trying to make the script more dynamic for easier customizing. Will upload soon!
Iāve updated the script, as @Leah_UK said, to allow you to add custom loadouts.
Please see: [Release][ES] Loadouts (v2.2)
Iāve linked the download to this post
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
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
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.