I have looked through DarkRP code to learn to create my own addons and game modes. I am trying to understand all that is happening and I have seen fn.id many times and fail to understand what it means. Anyone who can point me in the right direction I would appreciate it :)
Asked
Active
Viewed 132 times
-2
-
`func = fp{fn.Id, true}` is equivalent to `func = function(...) return true, ... end` – Egor Skriptunoff Apr 03 '21 at 21:35
1 Answers
0
fn.Id
is the identity function, from the fn
module. It returns the arguments passed to it.

Sneftel
- 40,271
- 12
- 71
- 104