25 {
26
27 if (!
GetGame().IsDedicatedServer())
28 {
29
30 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
31 return false;
32
33 if (!CfgGameplayHandler.GetDisableColdAreaPlacementCheck() && player.GetInColdArea())
34 return false;
35
36 if (player.IsPlacingLocal())
37 {
38 Hologram hologram = player.GetHologramLocal();
39 GardenPlot item_GP;
42
44 {
45 return true;
46 }
47 }
48 return false;
49 }
50
51 return true;
52 }
void CheckSurfaceBelowGardenPlot(PlayerBase player, GardenPlot item_GP, Hologram hologram)
EntityAI GetProjectionEntity()
proto native CGame GetGame()