πKidnapping v2
Documentation for Kidnapping v2
Last updated
Documentation for Kidnapping v2
Last updated
TriggerClientEvent("kidnap:startKidnap", source, {x = 0.0, y = 0.0, z = 0.0})Incorporate an NPC onto your map that players can interact with to facilitate the kidnapping of another individual.Allow admins to troll their players by kidnapping them with a command.Support for RoadPhone is being added in the upcoming RoadPhone 1.1 update, which will be released soon.
This mechanics works as follows: Players can make use of a designated phone number established in the configuration file. Upon initiating a call, a player menu will appear, enabling the caller to pick an online player. Subsequently, the chosen player will be kidnapped and brought to the caller's location.Config = {}
Config.Locale = 'en'
Config.Intergations = {
["npc"] = {
enabled = true,
openKey = 38,
coords = {x = 232.9859, y = -880.9865, z = 29.50},
heading = 180.0,
ped = "s_m_y_blackops_01",
interactionDistance = 1.5,
["weapon"] = {
enabled = true,
hash = "WEAPON_ADVANCEDRIFLE",
},
["blip"] = {
enabled = true,
sprite = 458,
color = 1,
name = "Kidnapping Service",
scale = 0.8,
},
["marker"] = {
enabled = true,
type = 1,
distance = 10.0,
scale = {x = 1.0, y = 1.0, z = 1.0},
color = {r = 255, g = 0, b = 0, a = 100},
},
},
["command"] = {
enabled = false,
command = "kidnap",
ace_perm = "kidnap.use"
},
["roadphone"] = {
enabled = false,
number = "1234567890"
},
}Config.Framework = {
["price"] = 5000
}
Config.Cooldown = {
["enabled"] = true,
["time"] = 300
}Config = {}
Config.Vehicle = {
["driver"] = {
["peds"] = {
"mp_m_bogdangoon"
},
["weapons"] = {
"WEAPON_PISTOL",
}
},
["passenger"] = {
["peds"] = {
"s_m_y_blackops_01"
},
["weapons"] = {
"WEAPON_PISTOL",
}
}
}
Config.DriveMode = "full"
Config.maxTrys = 3