Can anyone explain how I can make it so Admins are able to delete disconnected players props + decals instead of superadmin+? Or just tell me what file I need to edit.
This depends on what game mode you are using this for.
I’m not really familiar with FPP, but basically what you’ll have to do is navigate to the folder with all the Lua stuff, and you’ll see a piece of code that’ll probably be something like:
if ply:IsSuperAdmin() then
blahblah props delete
All you need to do is change the “IsSuperAdmin” to just “IsAdmin”.
I’m looking at the code right now, and it already has it set as
[lua]if ply:EntIndex() ~= 0 and not ply:IsAdmin() then FPP.Notify(ply, “You can’t clean up”, false) return end[/lua]
Are you sure you have the latest version?
Thanks for helping mate.
I do indeed have the latest version but the lines of code you found are for “Clean up” I’m looking for the lines regarding “Clean up disconnected players props”. I will continue to browse through the LUA files and update it here if I find a solution.