# Set Ping Players

Grammar — Set ping players to players
FlagsNative | Action

Sets which player groups get to see the ping.

# Arguments

  • int<ping> — Ping
  • playergroup — Players

Returns — void

native void PingSetPlayerGroup(
	int p,
	playergroup playerMask,
);

Category: Ping / Advanced

# Examples

mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmodbase.stormdata/LibMHtM.galaxy:1536

                lv_itGate = UnitGroupUnitFromEnd(auto5483D290_g, auto5483D290_u);
                if (lv_itGate == null) { break; }
                PingSetPlayerGroup(libCore_gf_PingStoredForUnit(lv_itGate, 1), lv_pingPlayers);
            }
            Wait(1.0, c_timeGame);

mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmodbase.stormdata/LibMHtM.galaxy:2128


                    }
                    PingSetPlayerGroup(libCore_gf_PingStoredForUnit(libMHtM_gv_mMUnderworldSummonedBoss[lv_itTeam], 1), lv_pingPlayers);
                }

mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmodbase.stormdata/LibMHtM.galaxy:2143


                    }
                    PingSetPlayerGroup(libCore_gf_PingStoredForUnit(libMHtM_gv_mMUnderworldSummonedBoss[lv_itTeam], 2), lv_pingPlayers);
                }