Kartik Scripts

Restraints

General

SettingDefaultWhat it does
EnabledtrueTurn restraints on
GangMembersOnlytrueOnly gang members can tie, bag, search or escort
MaxDistance2.5Range to the target
Cooldown1500Milliseconds between actions
UntieRemovesBagtrueUntying also removes the head bag
HideRadarWhenTiedtrueTied players lose their minimap
AdminFreeCommand'freeplayer'Admin command to free a player

Items

SettingDefaultWhat it does
Rope.name'rope'Rope item
Rope.requiredfalseNeed a rope to tie someone
Rope.consumeOnTiefalseUse up the rope (only when required)
Rope.returnOnUntiefalseGive the rope back on untie
HeadBag.name'head_bag'Head bag item
HeadBag.requiredfalseNeed a head bag to bag someone
HeadBag.consumeOnPutfalseUse up the bag (only when required)
HeadBag.returnOnRemovefalseGive the bag back on removal

Head bag

SettingDefaultWhat it does
HeadBag.requireTiedtrueTarget must be tied or down
HeadBag.blackoutAlpha250How dark the bagged player's screen is (255 = black)
HeadBag.hideHudtrueHide the HUD while bagged
HeadBag.muteVoicefalseTurn down voices the bagged player hears
HeadBag.propmoney bagBag prop on the head

When actions are allowed

Any one of the ticked conditions is enough.

SettingDefaultWhat it does
TieRequires.handsUptrueTie players with hands up
TieRequires.deadtrueTie downed players
TieRequires.fromBehindtrueTie anyone from behind
TieRequires.behindAngle70.0How far from directly behind still counts
TieRequires.policeCuffedfalseTie players already cuffed by police
SearchRequires.tied / dead / handsUpall trueWhen players can be searched

With fromBehind on, players can be tied from behind even without their hands up. Turn it off if that's too easy.


Timings

SettingDefaultWhat it does
Durations.tie3000Tie time (ms)
Durations.untie2500Untie time (ms)
Durations.bag5000Bag time (ms)
Durations.search6000Search time (ms)

Keys & menu

SettingDefaultWhat it does
HandsUp.enabledtrueAllow hands up
HandsUp.command / key'handsup' / XHands up command and key
Menu.command / key'gangrestrain' / F6Restraint menu. key = false = command only
Menu.radius2.5Range to find the nearest player
Target.enabledtrueShow options on your target script
Target.distance / vehicleDistance2.0 / 3.0Target ranges

Escort & vehicles

SettingDefaultWhat it does
Escort.releaseKeyXLet go of an escorted player
Escort.breakDistance8.0Escort breaks beyond this distance
Escort.walk / carryset positionsHow players are held when walked or carried
Vehicle.maxDistance5.0Range to put someone in or take them out of a vehicle

Anims and TieProp set the tie, untie, bag and search animations and the cuffs prop.

On this page