24 lines
1.3 KiB
Lua
24 lines
1.3 KiB
Lua
Config = {}
|
|
|
|
Config.ValidWeapons = {
|
|
[`WEAPON_STUNGUN`] = true,
|
|
[`WEAPON_STUNGUN_MP`] = true,
|
|
[`WEAPON_ELECTRIC_FENCE`] = true,
|
|
[`WEAPON_STUNROD`] = true
|
|
}
|
|
|
|
-- Due to how this is set up it usually won't effect the player ped the first time the get stunned.
|
|
Config.MinGroundTime = 5000 -- The minimum time in milliseconds that players will lay on the ground after getting tazed
|
|
Config.MaxGroundTime = 9000 -- The maximum time in milliseconds that players will lay on the ground after getting tazed
|
|
|
|
Config.TimecycleStrength = 0.5
|
|
Config.Timecycle = "dont_tazeme_bro" -- Other timecycles can for example be: hud_def_desat_Trevor, dont_tazeme_bro_b, drug_wobbly etc.
|
|
Config.TimecycleTransitionDuration = 5.0 -- How long the transition back to no timecycle should last "Appears to be half-seconds (?)": https://docs.fivem.net/natives/?_0x3BCF567485E1971C
|
|
|
|
Config.CameraShake = true -- If we should shake the camera on beeing stunned
|
|
Config.CameraShakeName = "FAMILY5_DRUG_TRIP_SHAKE"
|
|
Config.CameraShakeIntensity = 0.50
|
|
|
|
Config.DisableNPCWrithe = true -- Disabled writhe for NPC when getting stunned. This will also make it so npc's won't do go into writhe even after they are done beeing stunned. (This ONLY effects stunned peds)
|
|
Config.NPCDropWeapon = true -- Makes NPC's drop their weapon when they get stunned
|