Refunds
Handles processing refunds from server crashes.
Functions
impulse.Refunds.Add(steamid, item)
Internal
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Creates a new refund entry.
Parameters
-
steamid
string
The SteamID 32 of the player.
-
item
string
The item to refund.
impulse.Refunds.Clean()
Internal
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Clears any old (more than 24 hours old) refunds.
impulse.Refunds.Remove(steamid, item)
Internal
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Removes a specific refund entry.
Parameters
-
steamid
string
The SteamID 32 of the player.
-
item
string
The item to refund.
impulse.Refunds.RemoveAll(steamid)
Internal
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Removes all refund entries.
Parameters
-
steamid
string
The SteamID 32 of the player.