I'm trying to make an admin script and for that I need this
package Package
{
function GameConnection::onConnect(%this, %a, %b) // I'm not sure how many args
{
Parent::onConnect(%this, %a, %b);
}
};
it gives me the error:
function declaration failed: GameConnection::onConnect
What am I doing wrong? All of the other GameConnection functions work fine like
GameConnection::onClientJoinGame() and
GameConnection::onConnectionAccepted()