Video
Archivo de configuración:
Config = {
Language = 'en', -- Language library used for the script, see the last lines to modify the text of the language. (Config.Languages)
CommandEnabled = true, -- Activate or not the system to take it via the command.
GrabCommand = 'grab', -- Command to take the person by the arm (modifiable from cl_utils.lua)
PutCarCommand = 'putcar', -- Command to put the person into the vehicle. (modifiable from cl_utils.lua)
ExitCarCommand = 'exitcar', -- Command to get the player out of a vehicle. (modifiable from cl_utils.lua)
ESX = { -- ESX compatibility (you can modify this function on cl_utils.lua)
enabled = false, -- Activate or not the ESX system
jobs = { -- Job for which the grab ped can be used
'police',
'fbi',
},
exceptionJobs = false -- Do not take people with the above jobs (Config.ESX.jobs)
},
QB = { -- QB compatibility (you can modify this function on cl_utils.lua)
enabled = false, -- Activate or not the QB system
jobs = { -- Job for which the grab ped can be used
'police',
'fbi',
}
},
DropPlayer = true, -- Drop player via a key (GrabAndDropKey) when CommandEnabled = true
DisableSprint = true, -- Disable the sprint (recommended: leave it true)
CollisionRange = 0.5, -- Collision distance (0.0 to disable the dragged player's collision)
AttachPosition = vector3(0.20, 0.45, 0.0), -- Positioning of the player facing the police officer
Animations = {
policeAnimation = {
enabled = true, -- Activate or not the animation of the policeman when he takes a person by the arm.
animDict = 'amb@world_human_drinking@coffee@male@base',
anim = 'base'
},
citizenAnimation = {
enabled = false, -- Activate or not the animation of the citizen when he is taken by the arm.
animDict = 'amb@world_human_drinking@coffee@male@base',
anim = 'base'
}
}
}
-- https://docs.fivem.net/docs/game-references/controls/
Config.Keys = {
GrabAndDropKey = 57, -- If CommandEnabled is equal to false you must put a key to take the person.
GrabAndDropKeyString = '~INPUT_DROP_AMMO~', -- Name of the button.
TaskEnterKey = 206, -- Button to put the person inside the vehicle
TaskEnterKeyString = '~INPUT_FRONTEND_RB~' -- Name of the button to put the person inside the vehicle
}
-- Libraries of languages.
Config.Languages = {
['en'] = {
['taskenter'] = 'Put the person in the vehicle '..Config.Keys.TaskEnterKeyString,
['exitped'] = 'Taking the person out the vehicle '..Config.Keys.TaskEnterKeyString,
['releaseperson'] = 'Release the person press '..Config.Keys.GrabAndDropKeyString
},
['fr'] = {
['taskenter'] = 'Faire monter la personne '..Config.Keys.TaskEnterKeyString,
['exitped'] = 'Faire descendre la personne '..Config.Keys.TaskEnterKeyString,
['releaseperson'] = 'Lacher la personne '..Config.Keys.GrabAndDropKeyString
}
}
Scripts de Policía de FiveM Relacionados
- FiveM Liberty City (Liberty V 4.1)
- Animaciones de FiveM PD
- Brutal Yacht Heist
- Atraco al tren de ESX (AV)
Archivo de configuración:
Config = {
Language = 'en', -- Language library used for the script, see the last lines to modify the text of the language. (Config.Languages)
CommandEnabled = true, -- Activate or not the system to take it via the command.
GrabCommand = 'grab', -- Command to take the person by the arm (modifiable from cl_utils.lua)
PutCarCommand = 'putcar', -- Command to put the person into the vehicle. (modifiable from cl_utils.lua)
ExitCarCommand = 'exitcar', -- Command to get the player out of a vehicle. (modifiable from cl_utils.lua)
ESX = { -- ESX compatibility (you can modify this function on cl_utils.lua)
enabled = false, -- Activate or not the ESX system
jobs = { -- Job for which the grab ped can be used
'police',
'fbi',
},
exceptionJobs = false -- Do not take people with the above jobs (Config.ESX.jobs)
},
QB = { -- QB compatibility (you can modify this function on cl_utils.lua)
enabled = false, -- Activate or not the QB system
jobs = { -- Job for which the grab ped can be used
'police',
'fbi',
}
},
DropPlayer = true, -- Drop player via a key (GrabAndDropKey) when CommandEnabled = true
DisableSprint = true, -- Disable the sprint (recommended: leave it true)
CollisionRange = 0.5, -- Collision distance (0.0 to disable the dragged player's collision)
AttachPosition = vector3(0.20, 0.45, 0.0), -- Positioning of the player facing the police officer
Animations = {
policeAnimation = {
enabled = true, -- Activate or not the animation of the policeman when he takes a person by the arm.
animDict = 'amb@world_human_drinking@coffee@male@base',
anim = 'base'
},
citizenAnimation = {
enabled = false, -- Activate or not the animation of the citizen when he is taken by the arm.
animDict = 'amb@world_human_drinking@coffee@male@base',
anim = 'base'
}
}
}
-- https://docs.fivem.net/docs/game-references/controls/
Config.Keys = {
GrabAndDropKey = 57, -- If CommandEnabled is equal to false you must put a key to take the person.
GrabAndDropKeyString = '~INPUT_DROP_AMMO~', -- Name of the button.
TaskEnterKey = 206, -- Button to put the person inside the vehicle
TaskEnterKeyString = '~INPUT_FRONTEND_RB~' -- Name of the button to put the person inside the vehicle
}
-- Libraries of languages.
Config.Languages = {
['en'] = {
['taskenter'] = 'Put the person in the vehicle '..Config.Keys.TaskEnterKeyString,
['exitped'] = 'Taking the person out the vehicle '..Config.Keys.TaskEnterKeyString,
['releaseperson'] = 'Release the person press '..Config.Keys.GrabAndDropKeyString
},
['fr'] = {
['taskenter'] = 'Faire monter la personne '..Config.Keys.TaskEnterKeyString,
['exitped'] = 'Faire descendre la personne '..Config.Keys.TaskEnterKeyString,
['releaseperson'] = 'Lacher la personne '..Config.Keys.GrabAndDropKeyString
}
}


![[ESX] Vista previa del recurso del trabajo de ambulancia avanzado FiveM](https://cdn.fivemx.com/wp-content/uploads/2023/10/chrome_r89t4g1UUb-jpg-500x375.avif)



Magnus (propietario verificado) –
Recibí un trato personalizado y atento. Gracias a este trato, pude encontrar una solución a mi problema en poco tiempo. :)
Percival (propietario verificado) –
Me encanta el diseño y el servicio al cliente es el más amable.
MarieDuque (propietario verificado) –
4 estrellas para el producto, funciona como se describe, pero no como se esperaba.
Prudencia (propietario verificado) –
Limpio, optimizado y confiable.
Natalie (propietario verificado) –
Me encanta, gracias