Author Topic: What's the server-side function that is called when a player connects?  (Read 590 times)

I know the server-side function that is called when a player spawns but I need to know when the player connects.

I know the server-side function that is called when a player spawns but I need to know when the player connects.

package whenAPlayerConnects
{
   function gameConnection::autoAdminCheck(%client)
   {
      parent::autoAdminCheck(%client);
      
      //do stuff
   }
};
activatePackage(whenAPlayerConnects);

package whenAPlayerConnects
{
   function gameConnection::autoAdminCheck(%client)
   {
      parent::autoAdminCheck(%client);
      
      //do stuff
   }
};
activatePackage(whenAPlayerConnects);

thanks