Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. if ((MPC->Pawn->PlayerReplicationInfo != NULL)
  2. && (MPC->Pawn->PlayerReplicationInfo->PlayerZone != NULL))
  3. {
  4. AZoneInfo* MyZone = MPC->Pawn->PlayerReplicationInfo->PlayerZone;
  5. if (bFogColor)
  6. {
  7. MyZone->DistanceFogColor.R = 121;
  8. MyZone->DistanceFogColor.G = 185;
  9. MyZone->DistanceFogColor.B = 127;
  10. }
  11. else if (!bFogColor)
  12. {
  13. MyZone->DistanceFogColor.R = 128;
  14. MyZone->DistanceFogColor.G = 128;
  15. MyZone->DistanceFogColor.B = 128;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement