ShowGameLog
A line in the game’s log toast.
The game’s own log line (the slot that reports a reputation change or a found item): kind and level pick its icon and
color as the game’s tables have them - 0, 0 is the plain line. The server puts “X was kicked” there for everyone.
Syntax
Section titled “Syntax”ShowGameLog(pid, text [, kind, level])| Parameter | Type | |
|---|---|---|
pid |
number | the player (-1 = everyone) |
text |
string | the line |
kind |
number | the game’s log type (0) (optional) |
level |
number | the game’s log level (0) (optional) |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”ShowGameLog(pid, GetPlayerName(other) .. " joined your party")See also
Section titled “See also”ShowGameLogForAll · ShowNotification · the GameText and HUD group of the index
