Skip to content

Models

Functions

Return Type Name Description
model_list[] models.ped() The list of models used in Lexis
model_list[] models.object() The list of objects used in Lexis
model_list[] models.vehicle() The list of vehicles used in Lexis
model_list[] models.weapon() The list of weapons used in Lexis

Types

model_list

Property Name
string name
number hash

Examples

-- Get a list of vehicle names (this list contains every vehicle in the game)
for index, value in ipairs(models.vehicle) do
  print('Name:', value.name)
end