Two Natives, One Name (GetPosixTime())

Once again, Two Natives with the same name. It is just possible to use the first one, if I don’t call them by the Hash.

Line 6251 - 6259 – natives_universal.lua

function Global.GetPosixTime()
	return _in(0xDA488F299A5B164E, _i, _i, _i, _i, _i, _i)
end

--- Return POSIX timestamp.
function Global.GetPosixTime()
	return _in(0x9A73240B49945C76, _r, _ri)
end
Global.N_0x9a73240b49945c76 = Global.GetPosixTime
3 Likes

Thanks, it just saved my life ! GetPosixTime was returning a timestamp and suddenly the other took over the control :slight_smile: