Exports
info
Utility functions available from FS-Lib. Use these to interact with the world and simplify common tasks.
📖 How to Use​
- Ensure
FS-Lib
is running on your server. - Call the exports below from any other resource using the standard export syntax.
- See each linked page for parameters and examples.
Client Exports​
- DrawMarker3D
- DrawText2D
- DrawText3D
- GetClosestObject
- GetClosestPed
- GetClosestTrailerToHitch
- GetClosestVehicle
- GetCurrentZone
- GetKeyString
- GetStreetName
- HeadingToCardinal
- IsEntityWithinDistance
- IsInInterior
- SetupModel