Simple Loop - Connect

How do I make a function and loop for player connect?

Edit: Found it.
Had to search for IP Address :stuck_out_tongue:

i dont really understand but i think you mean hooking:

[lua]hook.Add(“PlayerConnect”, “IPNAO”, function( name, address )
print( "Player " … name … " has joined from ip " … address )

Examples are usefull…

That is very unclear.
But just as a reference, if you’re reading this thread, he was referring to **[Gamemode.PlayerConnect](**

Which is just what i posted, :doh: