- changed status to resolved
Add callbacks for team join
Issue #106
resolved
Slayer_TeamSO::onAddMember(%team,%client,%isTeamSwap)
This can be used to determine if is swap or not:
package blah
{
function Slayer_TeamSO::addMember(%this,%client,%reason,%doNotRespawn)
{
%curTeam = %client.getTeam();
if(isObject(%curTeam) && %curTeam != %this)
{
//Team swap!
}
return parent::addMember(%this,%client,%reason,%doNotRespawn);
}
};
activatePackage(blah);
Comments (1)
-
reporter - Log in to comment
Resolved by b306f50.