I’m very new to the whole Lua scene.
So first of all… I’ve looked this up but the explanations I found simply make no sense to me…
Take the “customCheck” from DarkRP’s Wiki for example:
customCheck = function(ply) return ply:GetNWString("usergroup") == "donator" or ply:IsAdmin() end,
What the fuck does that “return” shit do?! I can decipher the rest of the code just fine. However, that damned return shit makes no sense to me. Can someone please give me an explanation for a beginner?