Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 |
class KFAccessControl extends AccessControl; function bool IsLateJoiner(PlayerController C) { if( C!= none && C.Player !=none && (Level.NetMode != NM_Standalone)&& !C.PlayerReplicationInfo.bAdmin && KFGameType(Level.Game).bNoLateJoiners && Level.Game.GameReplicationInfo.bMatchHasBegun ) { // TODO implement a way for admins to specify the reason C.ClientNetworkMessage("FC_NoLateJoiners",DefaultKickReason); if (C.Pawn != None) C.Pawn.Destroy(); if (C != None) C.Destroy(); return true; } return false; } defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |