Redead Saving Error

Ok, Im trying to edit some maps to fit the gamemode “ReDead” and when i try to save the progress i get this error…

“Lua Error: [gamemodes\redead\gamemode\init.lua:1667] attempt to call method ‘IsAdmin’ (a nil value)”

the highlighted line is the line it is referring to is here…

  function SaveGameItems( ply, cmd, args )

**if ( !ply:IsAdmin() or !ply:IsSuperAdmin() ) then return end**

GAMEMODE:SaveAllEnts()

end

I don’t understand why i get the error, I’m using ULX for my admin system, Ive tried entering it in admin and superadmin ranks, and I even have tried entering via server control panel.

Please help me with this :frowning: