HUD
Functions

VC_get Currency

Gives options to check the currently selected currency (could also be done with VC_getSettings().

Used in: VCMod Main, VCMod ELS addons.

Shared VC_getCurrency()

Returns

1. Table Data for the currencly selected currency. Included data: symbol, shrt, name.

Example

hook.Add("VC_postInit", "VC_postInit", function()
	// Lets disable VCMod if the map is gm_construct
	local should_allow = game.GetMap() != "gm_construct"

	// Get VCMod settings
	local tbl_currency = VC_getCurrency()

	print("VCMods currency is: "..tbl_currency.name.." ("..tbl_currency.shrt.." "..tbl_currency.symbol..")")

end)
Page modified:
...2019-01-26 22:16:10