# Show/Hide Player Pings

Grammarshow Player Pings for players
FlagsNative | Action

Shows or Hides player created pings for the specified players. If hidden, the specified players will no longer see the default pings created by pinging the minimap. Pings created via triggers will still be shown.

# Arguments

Returns — void

native void PingSetPlayerPingsShown(
	playergroup inPlayers,
	bool inShown,
);

Category: Ping / Basic

# Examples

# mods/heroesdata.stormmod

UILib.galaxy

// L8761
PingSetPlayerPingsShown(libCore_gv_activeHumanPlayers, false)

# mods/liberty.sc2mod

LibertyLib.galaxy

// L292
PingSetPlayerPingsShown(lp_players, false)
// L297
PingSetPlayerPingsShown(lp_players, true)