Advertisement
OsmiumOP

Untitled

Sep 17th, 2021
1,445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. Config = {}
  2.  
  3. -- KEY TO PRESS WHEN AIMING AT HOSTAGE
  4. Config.KeyGun = 38 -- The key you must press with a gun in the hands to take an hostage
  5.  
  6. -- Probability that NPC will surrender (0-10)
  7. Config.SurrenderProbability = 10 -- Greater Value = Greater Chance for Hostage Surrender
  8.  
  9. -- Disable Player Firing when has hostage
  10. Config.DisablePlayerFire = false
  11.  
  12. -- Distance for Eye to turn Blue
  13. Config.EyeDistance = 3.5
  14.  
  15. -- Maximum Allowed Distance from NPC while trying to Hostage
  16. Config.DistancefromNPC = 15
  17.  
  18. -- COOLDOWN SETIINGS
  19. Config.EnableGlobalCooldown = true -- Enable / Disable Server Side Cooldown
  20. Config.GlobalCooldown = 4 -- SERVER WIDE COOLDOWN FOR NPC HOSTAGE (minutes)
  21.  
  22. Config.EnablePlayerCooldown = true -- Enable / Disable Client Cooldown
  23. Config.PlayerCooldown = 20 -- PER PLAYER COOLDOWN FOR NPC HOSTAGE (minutes)
  24.  
  25.  
  26. -- SET ALLOWED WEAPONS FOR HOSTAGE SITUATION
  27.  
  28. Config.EnableAllowedWeapons = true -- Enable / Disable Weapon Check
  29. Config.AllowedWeapons = {
  30. GetHashKey("weapon_assaultrifle"),
  31. GetHashKey("weapon_microsmg"),
  32. GetHashKey("weapon_smg"),
  33. GetHashKey("weapon_carbinerifle"),
  34. GetHashKey("weapon_pumpshotgun"),
  35. }
  36.  
  37. -- MINIMUM COPS REQUIRED FOR HOSTAGE SITUATION
  38. Config.EnableRequiredCops = true -- Enable / Disable COP Requirement
  39. Config.RequiredCops = 0
  40.  
  41. -- REWARD SETTING WHEN HOSTAGE IS LOOTED
  42. Config.EnableHostageLoot = true
  43. Config.RobHostageReward = {
  44. ['min'] = 50, -- MINIMUM
  45. ['max'] = 500, -- MAXIMUM
  46. }
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement