package Chat
{
function serverCmdMessageSent(%client, %msg)
{
%position = %client.player.position;
InitContainerRadiusSearch(%position,30,$TypeMasks::PlayerObjectType);
while((%targetObject=containerSearchNext()) !$= 0)
{
if((ContainerRayCast(%position, %targetObject.player, $TypeMasks::)))
{
%c = %targetObject.client;
messageClient(%c,'',"\c4[Local] \c7" SPC %client.clanprefix @ "\c3" @ %client.name @ "\c7" @ %client.clansuffix @ "\c6:" SPC %msg);
}
}
}
};
I think this is the right way to do this, but I don't know what to put in for the mask. Could anyone help me out?