# 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.stormmod

LibMHtM.galaxy

// L1536
PingSetPlayerGroup(libCore_gf_PingStoredForUnit(lv_itGate, 1), lv_pingPlayers)
// L2128
PingSetPlayerGroup(libCore_gf_PingStoredForUnit(libMHtM_gv_mMUnderworldSummonedBoss[lv_itTeam], 1), lv_pingPlayers)
// L2143
PingSetPlayerGroup(libCore_gf_PingStoredForUnit(libMHtM_gv_mMUnderworldSummonedBoss[lv_itTeam], 2), lv_pingPlayers)