Skip to content

GTA V: Red carpet

Bob74 edited this page Nov 2, 2018 · 3 revisions

Getting the main object to interact with the interior:

RedCarpet = exports['bob74_ipl']:GetRedCarpetObject()

Coordinates

This ipl can be found at:

X Y Z
300.5927 199.7589 104.3776

Object structure

RedCarpet
  +-- ipl
  +-- Enable(state)

Enable/Disable

Enable or disable the red carpet:

RedCarpet.Enable(state)
Parameter Description Valid values
state Enabled or disabled true or false

Default values set by bob74_ipl

RedCarpet.Enable(false)

Example: How to use in your own resources

You can handle and customize the interiors in your own resources using the exported functions:

Citizen.CreateThread(function()
    -- Getting the object to interact with
    RedCarpet = exports['bob74_ipl']:GetRedCarpetObject()

    -- Enabling the red carpet
    RedCarpet.Enable(true)
end)
Clone this wiki locally