Skip to Content

Server Exports

IsCreatingTrack

Returns whether a player is currently using the track creator.

---@param source number # Player server ID ---@return boolean local isCreatingTrack = exports["lb-racing"]:IsCreatingTrack(source)

IsInRace

Returns whether a player is in an active race and, if so, its ID.

---@param source number # Player server ID ---@return boolean isInRace ---@return number? raceId local isInRace, raceId = exports["lb-racing"]:IsInRace(source)