Im looking for a way to redirect players that join one server to another server. So what would be the first connection made by the player? is there anything before PlayerConnect? if so what is it
[QUOTE] is there anything before PlayerConnect?[/QUOTE]
No
Store the SteamID in a .txt .
What about using gameevent.Listen("player_connect")?
The password authentication hook ( Runs directly on connect ) Garry added runs before PlayerConnect ( which runs around-a-bout sending-client-info )
Here is a base for game-event system to track players:
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/tracking_players/player_connect_and_disconnect.lua[/url]
[QUOTE=Acecool;44114845]The password authentication hook ( Runs directly on connect ) Garry added runs before PlayerConnect ( which runs around-a-bout sending-client-info )
Here is a base for game-event system to track players:
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/tracking_players/player_connect_and_disconnect.lua[/url][/QUOTE]
Thanks a bunch :)
Sorry, you need to Log In to post a reply to this thread.