function onPlayerJoin(%this){messageAll("",%this.name SPC "has joined the server!");}
package packageName{ function gameConnection::autoAdminCheck(%client) { %p = parent::autoAdminCheck(%client); //Execute code.. return %p; }};activatePackage(packageName);
That executes code when a player joins or only when an admin joins?
This function is called when any player joins, it's where the server checks if the client is in the admin list