Logimakro HexProsper


SUBMITTED BY: Guest

DATE: Feb. 15, 2020, 11:40 p.m.

FORMAT: Text only

SIZE: 19.8 kB

HITS: 441

  1. ---------------- PUBGSteam LogiMakro v1.00 Beta ------------------------------
  2. ---Updated on /19/02/2020
  3. ----Tutorial Videos/------------------------------------------------
  4. -----Değeri 25$ olan logitech script'ini size ücretsiz sunuyorum.
  5. -----Youtube Channel: Hex Prosper
  6. -- Shared with you by HexProsper"
  7. ---Paylasimin yeni adresi-----
  8. ---Log:
  9. --Şimdilik M416-AKM-Beryl-Scarl Çalışmaktadır. Yakında diğer silahlarda aktif olacaktır..
  10. --Yeni Logitech Yazılımını indirmenizi tavsiye ederim.
  11. --Yeni silahlar eklendi.
  12. --Tüm Logitech farelerinde çalışır hale getirildi.
  13. --Kodların işlevselliği arttırıldı.
  14. --Otomatik mod düzeltidi.
  15. ---- KEY BIND ----
  16. --Info: The name of the gun_key = arg (which is the button name)
  17. --Ex: ump9_key = 1(left click)
  18. local ump9_key = nil
  19. local akm_key = 4
  20. local m16a4_key = nil
  21. local m416_key = 5
  22. local scarl_key = 7
  23. local uzi_key = nil
  24. local qbz_key = nil
  25. local mp5k_key = nil
  26. local beryl_key = nil
  27. local g36c_key = nil
  28. local ppbizon_key = nil
  29. ---This is the button used to turn off the script (default:6) - G502
  30. local set_off_key = 6
  31. ---- KEYBOARD ----
  32. --This should only be used by users with a Logitech Keyboard
  33. local ump9_gkey = nil ---1 is for G1
  34. local akm_gkey = nil
  35. local m16a4_gkey = nil
  36. local m416_gkey = nil
  37. local scarl_gkey = nil
  38. local uzi_gkey = nil
  39. local mp5k_gkey = nil
  40. local qbz_gkey = nil
  41. local g36c_gkey = nil
  42. local beryl_gkey = nil
  43. local ppbizon_gkey = nil
  44. ---Button used to turn off the script(keyboard)
  45. local set_off_gkey = nil
  46. ---- control_key ----
  47. local control_key = "lctrl"
  48. ---- Allowed Keys are: "lalt", "ralt", "alt" "lshift", "rshift", "shift" "lctrl", "rctrl", "ctrl"
  49. local ignore_key = "lalt" --- ignore key
  50. --------------------------İşlevsellikler---------------------------------
  51. -----Full_Mode= Silah eklentileri dolduğunda, daha zayıf bir geri tepme modunu aktive eder
  52. -----Mode_Switch_Key = Silah Eklentileri dolduğunda 6x veya 4x, 3x, aktive olur 4x (dörtlü) modunu aktif eder.
  53. -----Lighton_Key = Komut Dosyası açıkken, klavyenizdeki "kaydırma kilidi" ışığı yanar.
  54. ---- Only allowed keys for this area: "numlock", "capslock", "scrolllock" - Don't mistype it.
  55. local full_mode_key = "numlock"
  56. local mode_switch_key = "capslock"
  57. local lighton_key = "scrolllock"
  58. -----------------------End of Functionalities-----------------------------
  59. ------------------------Settings-------------------------------------------
  60. local vertical_sensitivity = 2 --- default is 2
  61. local target_sensitivity = 48 --- default is 48.0
  62. local scope_sensitivity = 48 --- default is 48.0
  63. local scope4x_sensitivity = 48 --- default is 48.0
  64. ----------------------End of Settings--------------------------------------
  65. -------------------Functionalities settings ------------------------------
  66. ---Full_Mode = True, allows for change from basic to full_mode(full attached gun)
  67. local full_mode = true
  68. -------------------End of Functionalities Settings------------------------
  69. -------------------------Safety-------------------------------------------
  70. --If Obfs_mode = true then, values from recoil table are randomized to reduce chance of detection
  71. --Interval_Ratio, by how much are the numbers randomized
  72. --Random_Seed, some random shit in calculation that makes no freaking sense(ignore)
  73. ---These are the recommended settings, changing anything here drastically impacts Recoil Table!
  74. local obfs_mode = true
  75. local interval_ratio = 0.5
  76. local random_seed = 1
  77. ----------------------End of Safety--------------------------------------
  78. -- Auto_Mode = True, DO NOT CHANGE THIS TO FALSE as it will create bugs
  79. local auto_mode = true -- dont change
  80. -----------------------
  81. --------------------------------------------------------------------------
  82. ---------------- Recoil Table ------------------------------
  83. ---------------- You can fix the value here ------------------------------
  84. --------------------------------------------------------------------------
  85. --- Recoil Times
  86. ----basictimes = 1,
  87. --- If All_Recoil_Times greater than 1 , then increased force of pulldown
  88. --- If less than 1, decreased force of pulldown
  89. local all_recoil_times = 1
  90. ----------------------------- Don't play here UNLESS you know what you are DOING!!---------------------------------
  91. ----- Buraya Sakın dokunmayın. En ufak değişiklik Makro ayarları bozar...
  92. local recoil_table = {}
  93. recoil_table["akm"] = {
  94. basic={32,29,29,30, 33.8,33,36,37, 39,39.5,43,44},
  95. basictimes = 1,
  96. full={32,29,29,30, 33.8,34,36,37, 39.6,39.7,44,44},
  97. fulltimes = 1*.65,
  98. quadruple={28,29,32,28, 26,22,24,25, 24,31,34,40},
  99. quadrupletimes = 4,
  100. fullof4x={23,22,21,22, 21,23,25,26, 27,27,25,29},
  101. fullof4xtimes = 4,
  102. speed = 96,
  103. maxbullets = 40,
  104. holdbreathtimes = 1.25,
  105. fullholdbreathtimes = 1.25,
  106. }
  107. recoil_table["m416"] = {
  108. basic={22,18,22,22 ,23, 26,28.7,28.5,27, 26,27,28,30},
  109. basictimes = 1,
  110. full={31,26,27,29 ,21,21,24,24,26, 21,27,28,32},
  111. fulltimes = 1*.50,
  112. quadruple={21,19,18,19 ,21,22,21,20,21, 20,19,20,28},
  113. quadrupletimes = 4,
  114. fullof4x={18,14,12,10 ,15,13,15,12,15, 10,11,12,18},
  115. fullof4xtimes = 4,
  116. speed = 75,
  117. maxbullets = 40,
  118. holdbreathtimes = 1.25,
  119. fullholdbreathtimes = 1.25,
  120. }
  121. recoil_table["scarl"] = {
  122. basic={32,29,29,26 ,29,28,30,31, 30,31,32,33},
  123. basictimes = 1,
  124. full={31,28,27,26 ,24,26,24,26, 30,31,32,33},
  125. fulltimes = 1*.8,
  126. quadruple={30,27,25,27 ,24,27,26,24, 27,26,25,33},
  127. quadrupletimes = 4*.9,
  128. fullof4x={32,29,29,26 ,29,28,30,31, 30,31,32,33},
  129. fullof4xtimes = 4*.6,
  130. speed = 100,
  131. maxbullets = 40,
  132. holdbreathtimes = 1.25,
  133. fullholdbreathtimes = 1.25,
  134. }
  135. recoil_table["ump9"] = {
  136. basic={20,16,17,18, 22,23,21,24, 24,22,24,26},
  137. basictimes = 1,
  138. full={21,18,19,18, 19,20,19,20, 21,22,23,24},
  139. fulltimes = 1*.8,
  140. quadruple={20,16,17,18, 22,23,21,24, 24,22,24,26},
  141. quadrupletimes = 4*0.8,
  142. fullof4x={21,18,19,19, 22,23,21,24, 24,22,24,26},
  143. fullof4xtimes = 4*0.5,
  144. speed = 90,
  145. maxbullets = 40,
  146. holdbreathtimes = 1.25,
  147. fullholdbreathtimes = 1.25,
  148. }
  149. recoil_table["uzi"] = {
  150. basic={16,10,11,12, 14,15,13,15, 14,15,16,21},
  151. basictimes = 1,
  152. full={18,16,15,16, 18,16,17,19, 14,15,16,21},
  153. fulltimes = 1*.6,
  154. quadruple={0,0,0,0, 0,0,0,0, 0,0,0,0},
  155. quadrupletimes = 4,
  156. fullof4x={0,0,0,0, 0,0,0,0, 0,0,0,0},
  157. fullof4xtimes = 4*.6,
  158. speed = 50,
  159. maxbullets = 35,
  160. holdbreathtimes = 1.25,
  161. fullholdbreathtimes = 1.25,
  162. }
  163. recoil_table["m16a4"] = {
  164. basic={20,18,16,14, 12,14,12,10, 12,14,15,17,},
  165. basictimes = 1*.7,
  166. full={42,39,38,37, 36,39,38,37, 39,41,40,43},
  167. fulltimes = 1*.8,
  168. quadruple={42,39,38,37, 36,39,38,37, 39,41,40,43},
  169. quadrupletimes = 4,
  170. fullof4x={42,39,38,37, 36,39,38,37, 39,41,40,43},
  171. fullof4xtimes = 4*.8,
  172. fulltimes = 1,
  173. speed = 100,
  174. maxbullets = 40,
  175. clickspeed = 100,
  176. holdbreathtimes = 1.25,
  177. fullholdbreathtimes = 1.25,
  178. }
  179. recoil_table["qbz"] = {
  180. basic={31,22,24,26, 27,27,28,29, 30,28,26,31},
  181. basictimes = 1.0,
  182. full={32,26,28,29, 29,28,30,29, 29,29,27,31},
  183. fulltimes = 1*.7,
  184. quadruple={20,18,16,13, 25,26,20,22, 26,27,28,29},
  185. quadrupletimes = 4,
  186. fullof4x={32,26,28,26, 27,27,28,29, 30,28,25,31},
  187. fullof4xtimes = 4*.6,
  188. speed = 100,
  189. maxbullets = 40,
  190. holdbreathtimes = 1.25,
  191. fullholdbreathtimes = 1.25,
  192. }
  193. recoil_table["beryl"] = {
  194. basic={26,24,22,23, 26,33,31,34, 32,33,38,42},
  195. basictimes = 1,
  196. full={28,26,22,23, 26,28,29,26, 34,36.7,38.6,40.5},
  197. fulltimes = 1*.73,
  198. quadruple={26,24,22,23, 26,36,31,34, 37,36,38,43},
  199. quadrupletimes = 4*.85,
  200. fullof4x={26,24,22,25, 32,33,31,34, 32,36,39,43},
  201. fullof4xtimes = 4*.6,
  202. speed = 65,
  203. maxbullets = 40,
  204. holdbreathtimes = 1.25,
  205. fullholdbreathtimes = 1.25,
  206. }
  207. recoil_table["g36c"] = {
  208. basic={26,24,22,23, 26,33,31,34, 32,33,38,42},
  209. basictimes = 1,
  210. full={26,24,22,23, 26,33,31,34, 32,33,38,42},
  211. fulltimes = 1*.7,
  212. quadruple={26,24,22,23, 28,36,31,34, 37,36,38,43},
  213. quadrupletimes = 4*0.85,
  214. fullof4x={26,24,22,21, 26,29,31,32, 31,33,36,41},
  215. fullof4xtimes = 4*0.6,
  216. speed = 100,
  217. maxbullets = 40,
  218. holdbreathtimes = 1.25,
  219. fullholdbreathtimes = 1.25,
  220. }
  221. recoil_table["mp5k"] = {
  222. basic={31,29,28,29, 27,29,31,27, 26,27,28,32},
  223. basictimes = 1,
  224. full={31,29,28,29, 27,29,31,27, 22,23,24,31},
  225. fulltimes = 1*.65,
  226. quadruple={31,29,28,29, 29,32,31,34, 22,23,24,31},
  227. quadrupletimes = 4,
  228. fullof4x={31,29,28,29, 27,29,31,27, 22,23,24,31},
  229. fullof4xtimes = 4*.55,
  230. speed = 90,
  231. maxbullets = 35,
  232. clickspeed = 100,
  233. holdbreathtimes = 1.25,
  234. fullholdbreathtimes = 1.25,
  235. }
  236. recoil_table["ppbizon"] = {
  237. basic={21,16,17,19, 21,20,21,20, 17,18,16,21},
  238. basictimes = 1,
  239. full={21,16,17,19, 21,20,21,20, 17,18,16,21},
  240. fulltimes = 1*.75,
  241. quadruple={21,16,17,19, 21,20,20,20, 17,18,16,21},
  242. quadrupletimes = 4*.95,
  243. fullof4x={21,16,17,19, 21,20,21,20, 17,18,16,21},
  244. fullof4xtimes = 4*.6,
  245. speed = 90,
  246. maxbullets = 35,
  247. clickspeed = 100,
  248. holdbreathtimes = 1.25,
  249. fullholdbreathtimes = 1.25,
  250. ---Template, copy this below to create a new gun---- |Advanced|
  251. }
  252. recoil_table["none"] = {
  253. basic={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  254. basictimes = 1,
  255. full={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  256. fulltimes = 1,
  257. quadruple={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  258. quadrupletimes = 1,
  259. fullof4x={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  260. fullof4xtimes = 1,
  261. speed = 30,
  262. maxbullets = 40,
  263. clickspeed = 100,
  264. holdbreathtimes = 1.25,
  265. fullholdbreathtimes = 1.25,
  266. }
  267. --------------------------------------------------------------------------
  268. ---------------- Function ------------------------------
  269. -----ANY SMALL CHANGE IN HERE CAN EITHER INTERRUPT THE SCRIPT FROM FUNCTIONING
  270. -----OR ALLOW YOU TO BECOME SUPERMAN, MOST LIKELY THE FIRST OPTION
  271. ---Basic calculation----
  272. function convert_sens(unconvertedSens)
  273. return 0.002 * math.pow(10, unconvertedSens / 50)
  274. end
  275. function calc_sens_scale(sensitivity)
  276. return convert_sens(sensitivity)/convert_sens(50)
  277. end
  278. local target_scale = calc_sens_scale(target_sensitivity)
  279. local scope_scale = calc_sens_scale(scope_sensitivity)
  280. local scope4x_scale = calc_sens_scale(scope4x_sensitivity)
  281. ---The key switching and changes in mode----
  282. function recoil_mode()
  283. if not IsKeyLockOn(mode_switch_key) then
  284. if IsKeyLockOn(full_mode_key) and full_mode then
  285. return "full";
  286. else
  287. return "basic";
  288. end
  289. end
  290. if IsKeyLockOn(mode_switch_key) then
  291. if IsKeyLockOn(full_mode_key) and full_mode then
  292. return "fullof4x"
  293. else
  294. return "quadruple"
  295. end
  296. end
  297. end
  298. function single_value(value)
  299. return math.floor(( value / 10 ))
  300. end
  301. function recoil_value(_weapon,_duration)
  302. local _mode = recoil_mode()
  303. local step = (math.floor(_duration/recoil_table[_weapon]["speed"])) + 1
  304. if step > #recoil_table[_weapon][_mode] then
  305. step = #recoil_table[_weapon][_mode]
  306. end
  307. ---Defining and allocating all locals needed
  308. local weapon_recoil = recoil_table[_weapon][_mode][step]
  309. local weapon_speed = recoil_table[_weapon]["speed"]
  310. local weapon_clickspeed = recoil_table[_weapon]["clickspeed"]
  311. local weapon_maxbullets = recoil_table[_weapon]["maxbullets"]
  312. local weapon_basictimes = recoil_table[_weapon]["basictimes"]
  313. local weapon_fulltimes = recoil_table[_weapon]["fulltimes"]
  314. local weapon_quadrupletimes = recoil_table[_weapon]["quadrupletimes"]
  315. local weapon_fullof4xtimes = recoil_table[_weapon]["fullof4xtimes"]
  316. local weapon_intervals = weapon_speed
  317. local weapon_clicktime = weapon_clickspeed
  318. local weapon_bullets = weapon_maxbullets
  319. ---OBFS Mode, This is the code for the Randomization System.
  320. if obfs_mode then
  321. local coefficient = interval_ratio * ( 1 + random_seed * math.random())
  322. weapon_intervals = math.floor(coefficient * weapon_speed)
  323. end
  324. -- OutputLogMessage("weapon_intervals = %s\n", weapon_intervals)
  325. recoil_recovery = weapon_recoil
  326. recoil_times = all_recoil_times / vertical_sensitivity
  327. if recoil_mode() == "basic" then
  328. recoil_recovery = recoil_recovery * recoil_times * weapon_basictimes
  329. end
  330. if recoil_mode() == "full" then
  331. recoil_recovery = recoil_recovery * recoil_times * weapon_fulltimes
  332. end
  333. if recoil_mode() == "quadruple" then
  334. recoil_recovery = recoil_recovery * recoil_times * weapon_quadrupletimes
  335. end
  336. if recoil_mode() == "fullof4x" then
  337. recoil_recovery = recoil_recovery * recoil_times * weapon_fullof4xtimes
  338. end
  339. -- issues/3
  340. if IsMouseButtonPressed(2) then
  341. recoil_recovery = recoil_recovery / target_scale
  342. elseif recoil_mode() == "basic" then
  343. recoil_recovery = recoil_recovery / scope_scale
  344. elseif recoil_mode() == "full" then
  345. recoil_recovery = recoil_recovery / scope_scale
  346. elseif recoil_mode() == "quadruple" then
  347. recoil_recovery = recoil_recovery / scope4x_scale
  348. elseif recoil_mode() == "fullof4x" then
  349. recoil_recovery = recoil_recovery / scope4x_scale
  350. end
  351. return weapon_intervals,recoil_recovery,weapon_clicktime,weapon_bullets
  352. end
  353. --------------------------------------------------------------------------
  354. ---------------- OnEvent ------------------------------
  355. --------------------------------------------------------------------------
  356. function OnEvent(event, arg)
  357. OutputLogMessage(" %s, = %d\n", event, arg)
  358. if (event == "PROFILE_ACTIVATED") then
  359. OutputLogMessage("Script = ON ->")
  360. EnablePrimaryMouseButtonEvents(true)
  361. Fire = false
  362. current_weapon = "none"
  363. shoot_duration = 0.0
  364. if IsKeyLockOn(lighton_key) then
  365. PressAndReleaseKey(lighton_key)
  366. elseif IsKeyLockOn(full_mode_key) then
  367. PressAndReleaseKey(full_mode_key)
  368. elseif IsKeyLockOn(mode_switch_key) then
  369. PressAndReleaseKey(mode_switch_key)
  370. end
  371. elseif event == "PROFILE_DEACTIVATED" then
  372. ReleaseMouseButton(1)
  373. end
  374. if (event == "MOUSE_BUTTON_PRESSED" and arg == set_off_key)
  375. or (event == "G_PRESSED" and arg == set_off_gkey) then
  376. current_weapon = "none"
  377. OutputLogMessage("Script = OFF ->")
  378. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == akm_key)
  379. or (event == "G_PRESSED" and arg == akm_gkey) then
  380. current_weapon = "akm"
  381. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == beryl_key)
  382. or (event == "G_PRESSED" and arg == beryl_gkey) then
  383. current_weapon = "beryl"
  384. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == m16a4_key)
  385. or (event == "G_PRESSED" and arg == m16a4_gkey) then
  386. current_weapon = "m16a4"
  387. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == m416_key)
  388. or (event == "G_PRESSED" and arg == m416_gkey) then
  389. current_weapon = "m416"
  390. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == ump9_key)
  391. or (event == "G_PRESSED" and arg == ump9_gkey) then
  392. current_weapon = "ump9"
  393. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == qbz_key)
  394. or (event == "G_PRESSED" and arg == qbz_gkey) then
  395. current_weapon = "qbz"
  396. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == uzi_key)
  397. or (event == "G_PRESSED" and arg == uzi_gkey) then
  398. current_weapon = "uzi"
  399. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == scarl_key)
  400. or (event == "G_PRESSED" and arg == scarl_gkey) then
  401. current_weapon = "scarl"
  402. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == g36c_key)
  403. or (event == "G_PRESSED" and arg == g36c_gkey) then
  404. current_weapon = "g36c"
  405. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == mp5k_key)
  406. or (event == "G_PRESSED" and arg == mp5k_gkey) then
  407. current_weapon = "mp5k"
  408. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == ppbizon_key)
  409. or (event == "G_PRESSED" and arg == ppbizon_gkey) then
  410. current_weapon = "ppbizon"
  411. -----Template below, just an example |Advanced|
  412. ----elseif (event == "MOUSE_BUTTON_PRESSED" and arg == mp5_key)
  413. ----or (event == "G_PRESSED" and arg == mp5_gkey) then
  414. --------- current_weapon = "mp5"
  415. elseif (event == "M_RELEASED" and arg == 3 and Fire) then
  416. local intervals,recovery,clicktime,bullets = recoil_value(current_weapon,shoot_duration)
  417. if shoot_duration % (single_value(intervals) / 2) == 0 then
  418. PressAndReleaseMouseButton(1)
  419. end
  420. MoveMouseRelative(0, recovery / 10)
  421. Sleep(single_value(intervals)/10)
  422. shoot_duration = (single_value(intervals)*.5)
  423. --- if auto_reloading then
  424. ---- if shoot_duration > (single_value(intervals) * bullets) + 100 then
  425. ----- ReleaseMouseButton(1)
  426. --- PressAndReleaseKey("r")
  427. --- Sleep(200)
  428. --- Fire = false
  429. --- end
  430. --- end
  431. if not Fire then
  432. ReleaseMouseButton(1)
  433. elseif Fire then
  434. SetMKeyState(3)
  435. end
  436. elseif (event == "MOUSE_BUTTON_PRESSED" and arg == 1) then
  437. -- button 1 : Shoot
  438. if ((current_weapon == "none") or IsModifierPressed(ignore_key)) then
  439. PressMouseButton(1)
  440. repeat
  441. Sleep(30)
  442. until not IsMouseButtonPressed(1)
  443. elseif(current_weapon == "m16a4") then
  444. Fire = true
  445. SetMKeyState(3)
  446. else
  447. if auto_mode then
  448. repeat
  449. local intervals,recovery,clicktime,bullets = recoil_value(current_weapon,shoot_duration)
  450. MoveMouseRelative(0, recovery /10 )
  451. Sleep(intervals/10)
  452. shoot_duration = shoot_duration + (intervals/10)
  453. until not IsMouseButtonPressed(1)
  454. else
  455. Fire = true
  456. SetMKeyState(3)
  457. end
  458. end
  459. elseif (event == "MOUSE_BUTTON_RELEASED" and arg == 1) then
  460. Fire = false
  461. shoot_duration = 0.0
  462. end
  463. --- while (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and IsModifierPressed(control_key) and IsModifierPressed(ignore_key) and fastloot) do
  464. ---ReleaseMouseButton(1)
  465. --- PressMouseButton(1)
  466. ---for i = 0, 14 do
  467. --- MoveMouseRelative(move, 0)
  468. --- Sleep(2)
  469. --- end
  470. --- ReleaseMouseButton(1)
  471. --- for i = 0, 14 do
  472. --- MoveMouseRelative(-move, 0)
  473. --- Sleep(2)
  474. -- end
  475. --- Sleep(10)
  476. --- end
  477. if (current_weapon == "none") then
  478. if IsKeyLockOn(lighton_key) then
  479. PressAndReleaseKey(lighton_key)
  480. end
  481. else
  482. if not IsKeyLockOn(lighton_key) then
  483. PressAndReleaseKey(lighton_key)
  484. end
  485. end
  486. end
  487. ---TEXT VERSION ONLY

comments powered by Disqus