pairs
Example
Iterates through all PlayerInitialSpawn hooks on the server and prints their unique identifiers and called function.
for k, v in pairs( hook.GetTable().PlayerInitialSpawn ) do
-- The custom name given in the second argument of the hook.Add function.
-- Example : "myCustomSpawnFunc".
print( "Unique identifier:", k )
-- The hook function.
-- Example : "function: 0x3a3f2c80".
print( "Called function:", v )
end
Output: A list of all hooks.