| Blockland Forums > Modification Help |
| What's the server-side function that is called when a player connects? |
| (1/1) |
| Axolotl:
I know the server-side function that is called when a player spawns but I need to know when the player connects. |
| Superb:
--- Quote from: Axolotl on December 19, 2011, 07:49:29 PM ---I know the server-side function that is called when a player spawns but I need to know when the player connects. --- End quote --- package whenAPlayerConnects { function gameConnection::autoAdminCheck(%client) { parent::autoAdminCheck(%client); //do stuff } }; activatePackage(whenAPlayerConnects); |
| Axolotl:
--- Quote from: Superb on December 19, 2011, 07:50:59 PM ---package whenAPlayerConnects { function gameConnection::autoAdminCheck(%client) { parent::autoAdminCheck(%client); //do stuff } }; activatePackage(whenAPlayerConnects); --- End quote --- thanks |
| Navigation |
| Message Index |