Hi
I'm trying to get the unix timestamp in my plugin, but i cant it because in python i can use "import time" but no execute the time.time(), the server say:
[Error] TestPlugin: MissingMemberException while calling OnServerInitialized: 'NoneType' object has no attribute 'time' ....
Any other way? or if it's possible with LUA would be fine for me
I found a solution
The function GetUnixTimestamp() in Time class of Oxide Core Libraries
LUA:
This return the unix timestamp.Code:time.GetUnixTimestamp()
Solved Can i get UNIX time Python?
Discussion in 'Rust Development' started by Xephiro, Feb 3, 2015.