[PAID] [QB/ESX] Bodyguards | Electus | Protector | Reinforcements

Electus Bodyguards

Tebex Link (14.99€)

Does your server lack active police officers? Then this is the solution!


Info

  • The script can be used on servers that lack criminal forces or police officers to even out the playing field for all members involved.

  • Three different types of bodyguards (police, gang and regular bodyguards).

  • All types of bodyguards can be restricted by job e.g. police reinforcements.

  • Tons of configurable features such as ped models, weapon models, all prices, price deductions, speed metrics, maximum slots and currency.

  • In theory, you can have unlimited amounts of bodyguards (for obvious reasons it’s not recommended).

  • All bodyguards are good at different things. These things can be divided into three things which are shooting, driving and armor.

  • Vehicle menu is integrated into the script to make it easy to switch places between bodyguards so they can drive you around.


Usage

  • A bodyguard is rented for a selectable amount of time and the price is decided depending on the time.

  • The purchased bodyguard will not disappear until the time is over or if the user chooses to terminate the contract.

  • Terminate contract will delete the bodyguard completely.

  • Claim insurance will spawn a new bodyguard if the last one is dead (can only be done in a shop).

  • Put on leave/Reinstate bodyguard can be used if you simply don’t want the bodyguard active for the moment.

  • You can interact with a single bodyguard with a target system or default button G, there you can tell them to stay still, follow you or put them on leave.

  • You can interact with all your bodyguards via these commands /bodyguard_stay and /bodyguard_follow


Refunds

If the script does not work after getting support to fix the potential issue a refund will be made, but proof of the script not working must be provided.


Requirements

  • QB-Core/ESX.

  • Target system is optional but target system such as qtarget and qb-target is recommended.


Resmon

Idle 0.00ms.
Idle with a bodyguard out 0.01ms.
Max 0.06-0.07ms when doing a task.


Video


Screenshots

Screenshots






Config

Config
Config = {
    locale = "en",
    framework = "esx", -- "none", "esx" or "qb"
    targetSystem = "qtarget", -- "none", "qtarget" or "qb-target", note it can work with other target systems as well
    maxSlots = 4,
    speedMetric = "KM/H", -- "KM/H" or "MPH"
    priceDeduction = {percent=0.8, onDay=7}, -- price deduction
    currency = "€",

    weaponModels = {
        {weapon = "weapon_pistol", price = 500}, -- price is per day
        {weapon = "weapon_assaultrifle", price = 1500},
        {weapon = "weapon_microsmg", price = 750},
        {weapon = "weapon_assaultsmg", price = 1000}
    },
    
    peds = {
        bodyguard = {
            {
                ped = "s_m_m_chemsec_01",
                shooting = 2,
                driving = 1,
                armor = 3,
                pricePerDay = 20000,
            },
            {
                ped = "s_m_y_devinsec_01",
                shooting = 2,
                driving = 1,
                armor = 3,
                pricePerDay = 20000,
            },
            {
                ped = "s_m_m_highsec_02",
                shooting = 2,
                driving = 2,
                armor = 1,
                pricePerDay = 14000,
            },
            {
                ped = "cs_fbisuit_01",
                shooting = 3,
                driving = 1,
                armor = 2,
                pricePerDay = 15000,
            },
            {
                ped = "s_m_m_highsec_01",
                shooting = 2,
                driving = 3,
                armor = 1,
                pricePerDay = 19000,
            },
            {
                ped = "s_m_y_clubbar_01",
                shooting = 3,
                driving = 1,
                armor = 2,
                pricePerDay = 20000,
            }
        },
        police = {
            {
                ped = "s_m_y_cop_01",
                shooting = 2,
                driving = 1,
                armor = 3,
                pricePerDay = 2000,
            },
            {
                ped = "s_m_y_hwaycop_01",
                shooting = 2,
                driving = 2,
                armor = 1,
                pricePerDay = 1000,
            },
            {
                ped = "csb_cop",
                shooting = 2,
                driving = 2,
                armor = 1,
                pricePerDay = 1000,
            },
            {
                ped = "s_m_m_snowcop_01",
                shooting = 2,
                driving = 3,
                armor = 1,
                pricePerDay = 1000,
            },
            {
                ped = "s_m_m_security_01",
                shooting = 1,
                driving = 2,
                armor = 1,
                pricePerDay = 250,
            },
            {
                ped = "mp_m_fibsec_01",
                shooting = 2,
                driving = 1,
                armor = 3,
                pricePerDay = 1250,
            },
            {
                ped = "s_f_y_cop_01",
                shooting = 3,
                driving = 1,
                armor = 2,
                pricePerDay = 1000,
            },
            {
                ped = "s_m_y_swat_01",
                shooting = 2,
                driving = 3,
                armor = 1,
                pricePerDay = 1250,
            },
        },
        gang = {
            {
                ped = "g_m_y_famca_01",
                shooting = 2,
                driving = 2,
                armor = 1,
                pricePerDay = 1250,
            },
            {
                ped = "g_m_y_mexgoon_01",
                shooting = 2,
                driving = 3,
                armor = 2,
                pricePerDay = 1250,
            },
            {
                ped = "g_m_y_ballaorig_01",
                shooting = 3,
                driving = 2,
                armor = 1,
                pricePerDay = 1250,
            },
            {
                ped = "g_f_y_families_01",
                shooting = 2,
                driving = 2,
                armor = 2,
                pricePerDay = 1250,
            },
        }
    },

    blips = {
        {blipId = 311, color = 10, text = "Bodyguard Recuiter", size = 0.8, job = "none"},
        {blipId = 311, color = 3, text = "Police Recuiter", size = 0.8, job = "police"},
        {blipId = 311, color = 6, text = "Gang Recuiter", size = 0.8, job = "none"} 
    },

    coords = {
       {
            coords = vector3(-1230.3526611328, -336.81219482422, 36.615943908691),
            heading = 24.61570930481, 
            model = "cs_fbisuit_01", 
            type = "Bodyguard", 
            requiredJob = "none",
            enableBlip = true,
            blipIndex = 1,
        },
        {
            coords = vector3(478.39837646484, -978.67834472656, 26.983869552612),
            heading = 358.06362915039, 
            model = "s_m_m_pilot_01", 
            type = "Police", 
            requiredJob = "police",
            enableBlip = true,
            blipIndex = 2
        },
        {
            coords = vector3(246.38819885254, -1969.1279296875, 20.961687088013), 
            heading = 222.27359008789,
            model = "g_m_m_chicold_01", 
            type = "Gang", 
            requiredJob = "none", 
            enableBlip = true,
            blipIndex = 3
        }
    },
    
    keyActions = {
        openShop = "E",
        interactBodyguard = "G",
        park = "E",
        cancel = "E",
        cancelPark = "BACKSPACE",
    },
}


Other Resources

kr_pets
kr_mobilehousing
electus_hacking
and more.

Code is accessible Necessary lua code is available
Subscription-based No
Lines (approximately) ~3500
Requirements QB/ESX
Support Yes
4 Likes

1.1 Does it work?

My city doesn’t block any NPCs.
Can I use this script?

What do you mean by your city doesn’t block any npcs?

1 Like

Yes, I let the NPCs free, both the police and the doctor.
Can I use your script?

1 Like

Yes of course it has nothing to do with any npc blocker script.

1 Like

This is the script I’ve been wanting for a long time. You did a great job! I’m the top crime boss in the city and this really adds to the RP element with Flash Enterprises! Great Discord CS.
Thank you for making this.

2 Likes

It’s my favorite, it works amazingly, been waiting forever as well

2 Likes

Question why won’t it let any other players in car with this script on other player yank you out car and can’t get in back seats

can you add the option to setup mpcharacter npc bodyguard that would be so amazing

Can you add support for ox target?

1 Like

@KRILLE Can’t go for the store. Is dismissed? still up2date or what else?

Hey, should be fixed now!

Yes, works. Just a question, the cfg is fully editable? I mean, if i wanna change peds and put others or like a pet (dog for e.g.) is that possible? there is a noescrow version so we can maybe fully customize it? We wanna create s survival server and wanna use this script in order to give a “companion” or a “companion squad” to players, possibility to add friends who are defended by peds and so.

Yeah but perhaps the pet script is better. Works simularly but more for pets etc