Skip to main content

RiP-ImpoundV2

RiP-ImpoundV2 is an extensive impound script which can differentiate between towed and destroyed vehicles.

Config

Some options are explained here. However this does not represent the original config file.

RiP.Garage

If you use this script in combination with RiP-GarageV2 you can enable this option to impound destroyed vehicles seperat with RiP.Price.

RiP.Garage = true                       -- [BOOLEAN] enable when using RiP-GarageV2

RiP.Fraktion

You can use this script to park out impounded fraction vehicles from RiP-Fraktion.

RiP.Fraktion = false                    -- [BOOLEAN] enable fraction vehicles (RiP-Fraktion required)

RiP.DestroyedRange

RiP.DestroyedRange = 90.0               -- [DECIMAL] distance between player and destroyed car before it is deleted

RiP.Price

RiP.Price = {
Impound = 1000, -- [INTEGER] price for towed/impounded vehicles
Destroyed = 2000 -- [INTEGER] price for destroyed vehicles (only working with RiP-GarageV2)
}

RiP.Impounds

With this option you can create further garages. Just copy the code below and paste it under the last garage in your config.

Attention

It is important in order to create a working config to pay attention about all {} and ,.

{
Name = "Innocence Blvd", -- [STRING] impound lable (leave empty for automatic name generation)
Type = 'car', -- [STRING] impound vehicle type

Location = vector3(409.413,-1623.081,29.293), -- [VECTOR] impound coords (x,y,z)

Blip = { -- https://docs.fivem.net/docs/game-references/blips/
Show = true, -- [BOOLEAN] enable blip
Name = "RiP-Impound", -- [STRING] blip lable
Type = 67, -- [INTEGER] blip type
Scale = 0.6, -- [DECIMAL] blip size
Display = 4, -- [INTEGER] blip display type
Color = 13 -- [INTEGER] blip color
},

Marker = { -- https://docs.fivem.net/docs/game-references/markers/
Type = 22, -- [INTEGER] marker type
Size = { X=1.0, Y=1.0, Z=0.9 }, -- [DECIMAL] marker scaling (X,Y,Z)
Color = { R=117, G=94, B=170 } -- [INTEGER] marker color (R,G,B)
},

SpawnPoints = { -- unlimited impound spawn points
{
Position = vector3(418.43,-1628.73,29.29), -- [VECTOR] spawn coords (x,y,z)
Heading = 138.599, -- [DECIMAL] spawn heading
Radius = 1.0 -- [DECIMAL] spawn area (check if point is clear)
},
},
},