7 lines
350 B
Plaintext
7 lines
350 B
Plaintext
-- Modifications to sample scripts will be lost the next time you start the game.
|
|
repeat
|
|
if _T.AddHudTracker then
|
|
require("Lotus.Scripts.Libs.ObjectiveText").SetPrimaryObjText(string.format("%.2f KMH", (gRegion:GetLocalPlayerAvatar():GetSpeed() * 3.6)))
|
|
end
|
|
until not pcall(yield)
|
|
require("Lotus.Scripts.Libs.ObjectiveText").ClearPrimaryObjText() |