Client
Zone/Track Exports
getPolyFromZone
local poly = exports['rcore_formula']:getPolyFromZone(zone)Parameter
Type
Description
{
{x = 0.0, y = 0.0, z = 0.0},
{x = 10.0, y = 0.0, z = 0.0},
{x = 10.0, y = 10.0, z = 0.0},
...
}isPointInPoly
local isInside = exports['rcore_formula']:isPointInPoly(point, poly)Parameter
Type
Description
createWallPoly
Parameter
Type
Description
getVehicleCorners
Parameter
Type
Description
isVehicleInVirtualWall
Parameter
Type
Description
isPointInCircuit
Parameter
Type
Description
Team Exports
getPlayerTeams
getPlayerTeamsWithPermission
Parameter
Type
Description
Tyre Exports
setTyreCompound
Parameter
Type
Description
getTyreCompound
Race Time Exports
getBestLapTime
getCurrentLapTime
getTimeFromLastOutOfCircuit
Race State Exports
getPlayerCurrentRace
getCurrentLap
disqualifyRace
retireRace
HUD Exports
showHud
hideHud
isHudVisible
Spectator/Watching Exports
getWatchingTrack
getWatchingDriver
getWatchingCameraIndex
UI State Exports
isLeaderboardOpened
isInPitBox
Complete Usage Example
Last updated