Solved Getting Oxide version? (Lua)
Discussion in 'Rust Development' started by Rusty, Jul 12, 2016.
-
Wulf Community Admin
OxideMod.Version is where it is, in Lua you'd likely use global.OxideMod.Version.
-
Didnt work. SO odd this one is driving me nuts. Gyazo - db06f2f6b54559058cd5bef8cab01a32.png
-
Wulf Community Admin
What is the code you are using? -
fails on the first printCode:
function PLUGIN:testtest(arg) print(global.OxideMod.Version) --print(string.format("%.1f",global.BuildInformation.VersionStampDays)) end -
Wulf Community Admin
Oxide.Core.OxideMod.Version:ToString() -
Boss as always, that did it.
Thanks
