Hey,
I'm having problems with my non-IS_MSO packets. I basically registered an IS_NCN packet, but it doesn't seem to be working.
Here's my code:
The PreMsgStl and GameName are "const" defined along with the AUTHOR, NAME etc. And are working in the IS_MSO event.
Thanks,
Povo.
I'm having problems with my non-IS_MSO packets. I basically registered an IS_NCN packet, but it doesn't seem to be working.
Here's my code:
public function __construct()
{
$this->registerPacket(ISP_NCN, 'ConConnects');
}
public function ConConnects(IS_NCN $NCN)
{
$MTC = new IS_MTC();
$MTC->UCID($NCN->$UCID)->Msg(sprintf('%s ^7Welcome to %s', self::PreMsgStl, self::GameName))->Send();
return PLUGIN_CONTINUE;
}
The PreMsgStl and GameName are "const" defined along with the AUTHOR, NAME etc. And are working in the IS_MSO event.
Thanks,
Povo.