# Configuration

```lua
RConfig = {}

RConfig.AllowedWeapons = { -- allow weapons
    [`WEAPON_PISTOL`] = true,
    [`WEAPON_COMBATPISTOL`] = false,
    [`WEAPON_APPISTOL`] = true,
    [`WEAPON_SNSPISTOL`] = true,
    [`WEAPON_HEAVYPISTOL`] = true,
    [`WEAPON_PISTOL50`] = true,
    [`WEAPON_MICROSMG`] = true,
    [`WEAPON_SMG`] = true,
    [`WEAPON_ASSAULTRIFLE`] = true,
    [`WEAPON_CARBINERIFLE`] = true,
    [`WEAPON_PUMPSHOTGUN`] = true,
    [`WEAPON_KNIFE`] = true,
}

RConfig.Update = true -- Set to true if you want to check for updates

RConfig.Lang = 'es' -- es, en

RConfig.Key = 38 -- Key to start the robbery (default is E)

RConfig.RobberyDistance = 2.0 -- distance to start a robbery

RConfig.RobberyCooldown = 60 -- Cooldown in seconds between robberies per player

RConfig.RobberyTime = 5000 -- Time to rob in milliseconds

RConfig.animofSurrender = {
    "random@mugging3",
    "handsup_standing_base",
}

RConfig.ProtectedJobs = {
    --'police',
    --'ambulance',
    --'mechanic',
    'taxi',
}
 
RConfig.translate = {
    ['es'] = {
        ['robo_text_ui'] = "[E] para robar",
        ['surrender_start'] = '¡Te están robando! No te muevas.',
        ['robo_cancel'] = 'Robo cancelado',
        ['surrender_move'] = 'El objetivo se movió o canceló manos arriba',
        ['surrender_cancel'] = 'El robo fue cancelado.',
        ['robando..'] = 'Robando..',
        ['surrender_search'] = 'Están buscando entre tus cosas...',
        ['Inventory_blocked_title'] = 'Inventario bloqueado',
        ['Inventory_blocked'] = 'No puedes acceder al inventario mientras te están robando.',
        ['Alert'] = '¡Alerta!',
        ['other_robo'] = 'Esta persona ya está siendo robada por otro jugador.',

    },
    ['en'] = {
        ['robo_text_ui'] = "[E] to rob",
        ['surrender_start'] = 'You are being robbed! Don\'t move.',
        ['robo_cancel'] = 'Robbery cancelled',
        ['surrender_move'] = 'The target moved or cancelled hands up',
        ['surrender_cancel'] = 'The robbery was cancelled.',
        ['robando..'] = 'Robbing..',
        ['surrender_search'] = 'They are searching through your belongings...',
        ['Inventory_blocked_title'] = 'Inventory blocked',
        ['Inventory_blocked'] = 'You cannot access the inventory while being robbed.',
        ['other_robo'] = 'This person is already being robbed by another player.',
    }
}
```
