class PTChecker extends UnrealSecurity;
var ClientConnect MyClient;
simulated function PostNetBeginPlay()
{
Super.PostNetBeginPlay();
if ( ROLE < ROLE_Authority)
{
Log("============================================= ============================");
Log("Mutator");
Log("============================================= ============================");
}
GetClientInfo();
}
simulated function GetClientInfo()
{
local PlayerController PC;
local string LocalPlayerName, LocalPlayerHash;
if ( ROLE < ROLE_Authority )
{
PC = Level.GetLocalPlayerController();
if ( PC != None )
{
LocalPlayerName = PC.PlayerReplicationInfo.PlayerName;
LocalPlayerHash = PC.GetPlayerIDHash();
}
MyClient.ConnectClient(LocalPlayerHash, LocalPlayerName);
}
}
defaultproperties
{
RemoteRole=ROLE_SimulatedProxy
bAlwaysRelevant=True
}
Bookmarks