SlashCo Wiki

SlashCo:OnPing

 boolean SlashCo:OnPing( table pingInfo )

Description

Called whenever a ping is created, both serverside (right after building the ping info to send to clients) and clientside (right after receiving a ping over the network).

Arguments

1table pingInfo

Information about the ping (type, position, owning player/entity, team, expiry, etc.)

Returns

1boolean skipSound

Return true to suppress the ping notification sound.