Skip to content
EntranceJew edited this page Oct 8, 2014 · 4 revisions

This version makes use of hooks that I put all over the place. Here they are. All arguments are in order. If there are none listed then it has none.

Game

  • GameLoaded is called at the end of menu_load(), which is after the intro.
  • GameOnlineMenuLoaded is called at the end of onlinemenu_load(), which is necessary for some initialization.

Server

  • ServerClientConnected is called at the end of server_callback_connect() after issuing the connected response to the client. This is also called when the hosting player opens the lobby because they are a client to their own server.
    • Arguments
    • clientid int is the index of the player's info in the server_peerlist, which is usually stored on the client as networkclientnumber.
    • ip string is the IP of the client that connected.
    • port string is the port number that the client is accessing through.

Clone this wiki locally