Advertisement
Guest User

Untitled

a guest
Jul 1st, 2021
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.36 KB | None | 0 0
  1. --lua 5.3
  2.  
  3. function randomFunction var_5_0.onSendGiveDamage (INPUT_VAR_0_,INPUT_VAR_1_,INPUT_VAR_2_)
  4. if headshot then
  5. --jump to 0009 (if previous if statement is false) --0009 JMP-JMP
  6. var_0_4 = {} --to find out the contents of this table look inside the lua file
  7. var_0_4[1] = INPUT_VAR_0_
  8. var_0_4[2] = INPUT_VAR_1_
  9. var_0_4[3] = INPUT_VAR_2_
  10. return var_0_4
  11. end
  12. return
  13. end
  14.  
  15.  
  16. function randomFunction main ()
  17. var_1_0 = isSampfuncsLoaded()
  18. if var_1_0 then
  19. --jump to 0009 (if previous if statement is false) --0009 JMP-JMP
  20. var_1_0 = isSampLoaded()
  21. if not var_1_0 then
  22. end -- maybe?
  23. else
  24. --location 0009--0009 LOCATION-LOCATION_
  25. return
  26. end
  27. var_1_0 = isSampAvailable()
  28. if not var_1_0 then
  29. --jump to 0019 (if previous if statement is false) --0019 JMP-JMP
  30. repeat
  31. var_1_1 = 0 --var_1_1 NUMBER-NUMBER
  32. wait(var_1_1)
  33. else
  34. --location 0019--0019 LOCATION-LOCATION_
  35. until false or (previous if statement is true) --location 0019
  36. var_1_1 = sampGetCurrentServerAddress()
  37. if var_1_1 ~= "delirium-amber.ru:7777" then
  38. --jump to 0026 (if previous if statement is false) --0026 JMP-JMP
  39. var_1_1 = false --var_1_1 PRIMITIVE-PRIMITIVE
  40. else
  41. --location 0026--0026 LOCATION-LOCATION_
  42. var_1_1 = true --var_1_1 PRIMITIVE-PRIMITIVE
  43. end
  44. var_1_0 = assert(var_1_1, "Server not Delirium RPG")
  45. if var_1_0 then
  46. --jump to 0065 (if previous if statement is false) --0065 JMP-JMP
  47. var_1_0 = doesFileExist("moonloader\DeliriumRpgByKraft1k.luac")
  48. if var_1_0 then
  49. --jump to 0061 (if previous if statement is false) --0061 JMP-JMP
  50. var_1_0 = sampIsLocalPlayerSpawned()
  51. if not var_1_0 then
  52. --jump to 0045 (if previous if statement is false) --0045 JMP-JMP
  53. repeat
  54. var_1_1 = 0 --var_1_1 NUMBER-NUMBER
  55. wait(var_1_1)
  56. else
  57. --location 0045--0045 LOCATION-LOCATION_
  58. until false or (previous if statement is true) --location 0045
  59. sampRegisterChatCommand("delirium", drpgcmd)
  60. var_1_1 = 5000 --var_1_1 NUMBER-NUMBER
  61. wait(var_1_1)
  62. var_1_1 = "[{ff6100}Delirium RPG{FFFFFF}] {43A8B9}L" --strings longer than 40 characters get cut off, so check to see if there's more!
  63. var_1_2 = -1 --var_1_2 NUMBER-NUMBER
  64. sampAddChatMessage(var_1_1, var_1_2)
  65. var_1_1 = "[{ff6100}Delirium RPG{FFFFFF}] {FFFFFF}�" --strings longer than 40 characters get cut off, so check to see if there's more!
  66. var_1_2 = -1 --var_1_2 NUMBER-NUMBER
  67. sampAddChatMessage(var_1_1, var_1_2)
  68. end
  69. else
  70. --location 0061--0061 LOCATION-LOCATION_
  71. var_1_1 = "[{ff6100}Delirium RPG{FFFFFF}] {43A8B9}�" --strings longer than 40 characters get cut off, so check to see if there's more!
  72. var_1_2 = -1 --var_1_2 NUMBER-NUMBER
  73. sampAddChatMessage(var_1_1, var_1_2)
  74. end
  75. end
  76. var_1_2 = 8 --var_1_2 NUMBER-NUMBER
  77. var_1_3 = 6 --var_1_3 NUMBER-NUMBER
  78. var_1_0 = renderCreateFont("Times New Roman", var_1_2, var_1_3)
  79. var_1_3 = 6 --var_1_3 NUMBER-NUMBER
  80. var_1_4 = 6 --var_1_4 NUMBER-NUMBER
  81. var_1_1 = renderCreateFont("Tahoma", var_1_3, var_1_4)
  82. repeat
  83. var_1_3 = 0 --var_1_3 NUMBER-NUMBER
  84. wait(var_1_3)
  85. var_1_3 = 27518 --var_1_3 NUMBER-NUMBER
  86. var_1_2, var_1_3, var_1_4 = sampHasDialogRespond(var_1_3)
  87. if var_1_2 then
  88. --jump to 0262 (if previous if statement is false) --0262 JMP-JMP
  89. if var_1_3 == 0 then
  90. --jump to 0262 (if previous if statement is false) --0262 JMP-JMP
  91. if var_1_4 == 1 then
  92. --jump to 0091 (if previous if statement is false) --0091 JMP-JMP
  93. drpgcmd()
  94. else
  95. --location 0091--0091 LOCATION-LOCATION_
  96. if var_1_4 == 0 then
  97. --jump to 0112 (if previous if statement is false) --0112 JMP-JMP
  98. if ragekillzombie then
  99. --jump to 0099 (if previous if statement is false) --0099 JMP-JMP
  100. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  101. ragekillzombie = var_1_5
  102. else
  103. --location 0099--0099 LOCATION-LOCATION_
  104. var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
  105. ragekillzombie = var_1_5
  106. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  107. ragekillzombie10m = var_1_5
  108. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  109. legitkillzombie = var_1_5
  110. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  111. legitkillzombieaim = var_1_5
  112. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  113. playeraim = var_1_5
  114. end
  115. drpgcmd()
  116. else
  117. --location 0112--0112 LOCATION-LOCATION_
  118. if var_1_4 == 2 then
  119. --jump to 0133 (if previous if statement is false) --0133 JMP-JMP
  120. if ragekillzombie10m then
  121. --jump to 0120 (if previous if statement is false) --0120 JMP-JMP
  122. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  123. ragekillzombie10m = var_1_5
  124. else
  125. --location 0120--0120 LOCATION-LOCATION_
  126. var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
  127. ragekillzombie10m = var_1_5
  128. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  129. ragekillzombie = var_1_5
  130. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  131. legitkillzombie = var_1_5
  132. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  133. legitkillzombieaim = var_1_5
  134. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  135. playeraim = var_1_5
  136. end
  137. drpgcmd()
  138. else
  139. --location 0133--0133 LOCATION-LOCATION_
  140. if var_1_4 == 3 then
  141. --jump to 0154 (if previous if statement is false) --0154 JMP-JMP
  142. if legitkillzombie then
  143. --jump to 0141 (if previous if statement is false) --0141 JMP-JMP
  144. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  145. legitkillzombie = var_1_5
  146. else
  147. --location 0141--0141 LOCATION-LOCATION_
  148. var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
  149. legitkillzombie = var_1_5
  150. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  151. ragekillzombie = var_1_5
  152. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  153. ragekillzombie10m = var_1_5
  154. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  155. legitkillzombieaim = var_1_5
  156. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  157. playeraim = var_1_5
  158. end
  159. drpgcmd()
  160. else
  161. --location 0154--0154 LOCATION-LOCATION_
  162. if var_1_4 == 4 then
  163. --jump to 0175 (if previous if statement is false) --0175 JMP-JMP
  164. if legitkillzombieaim then
  165. --jump to 0162 (if previous if statement is false) --0162 JMP-JMP
  166. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  167. legitkillzombieaim = var_1_5
  168. else
  169. --location 0162--0162 LOCATION-LOCATION_
  170. var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
  171. legitkillzombieaim = var_1_5
  172. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  173. ragekillzombie = var_1_5
  174. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  175. ragekillzombie10m = var_1_5
  176. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  177. legitkillzombie = var_1_5
  178. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  179. playeraim = var_1_5
  180. end
  181. drpgcmd()
  182. else
  183. --location 0175--0175 LOCATION-LOCATION_
  184. if var_1_4 == 5 then
  185. --jump to 0180 (if previous if statement is false) --0180 JMP-JMP
  186. drpgcmd()
  187. else
  188. --location 0180--0180 LOCATION-LOCATION_
  189. if var_1_4 == 6 then
  190. --jump to 0193 (if previous if statement is false) --0193 JMP-JMP
  191. if headshot then
  192. --jump to 0188 (if previous if statement is false) --0188 JMP-JMP
  193. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  194. headshot = var_1_5
  195. else
  196. --location 0188--0188 LOCATION-LOCATION_
  197. var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
  198. headshot = var_1_5
  199. end
  200. drpgcmd()
  201. else
  202. --location 0193--0193 LOCATION-LOCATION_
  203. if var_1_4 == 7 then
  204. --jump to 0206 (if previous if statement is false) --0206 JMP-JMP
  205. if tup then
  206. --jump to 0201 (if previous if statement is false) --0201 JMP-JMP
  207. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  208. tup = var_1_5
  209. else
  210. --location 0201--0201 LOCATION-LOCATION_
  211. var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
  212. tup = var_1_5
  213. end
  214. drpgcmd()
  215. else
  216. --location 0206--0206 LOCATION-LOCATION_
  217. if var_1_4 == 8 then
  218. --jump to 0223 (if previous if statement is false) --0223 JMP-JMP
  219. if wallhack then
  220. --jump to 0216 (if previous if statement is false) --0216 JMP-JMP
  221. var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
  222. wallhack = var_1_5
  223. nameTagOff()
  224. else
  225. --location 0216--0216 LOCATION-LOCATION_
  226. var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
  227. wallhack = var_1_5
  228. nameTagOn()
  229. end
  230. drpgcmd()
  231. else
  232. --location 0223--0223 LOCATION-LOCATION_
  233. if var_1_4 == 9 then
  234. --jump to 0243 (if previous if statement is false) --0243 JMP-JMP
  235. var_1_5 = getModuleProcAddress("Shell32.dll", "ShellExecuteA")
  236. var_1_7 = var_1_5
  237. var_1_8 = 6 --var_1_8 NUMBER-NUMBER
  238. var_1_9 = 0 --var_1_9 NUMBER-NUMBER
  239. var_1_10 = 0 --var_1_10 NUMBER-NUMBER
  240. var_1_13 = 0 --var_1_13 NUMBER-NUMBER
  241. var_1_14 = 0 --var_1_14 NUMBER-NUMBER
  242. var_1_15 = 5 --var_1_15 NUMBER-NUMBER
  243. callFunction(var_1_7, var_1_8, var_1_9, var_1_10, "open", "www.blast.hk/threads/22008/", var_1_13, var_1_14, var_1_15)
  244. drpgcmd()
  245. else
  246. --location 0243--0243 LOCATION-LOCATION_
  247. if var_1_4 == 10 then
  248. --jump to 0262 (if previous if statement is false) --0262 JMP-JMP
  249. var_1_5 = getModuleProcAddress("Shell32.dll", "ShellExecuteA")
  250. var_1_7 = var_1_5
  251. var_1_8 = 6 --var_1_8 NUMBER-NUMBER
  252. var_1_9 = 0 --var_1_9 NUMBER-NUMBER
  253. var_1_10 = 0 --var_1_10 NUMBER-NUMBER
  254. var_1_13 = 0 --var_1_13 NUMBER-NUMBER
  255. var_1_14 = 0 --var_1_14 NUMBER-NUMBER
  256. var_1_15 = 5 --var_1_15 NUMBER-NUMBER
  257. callFunction(var_1_7, var_1_8, var_1_9, var_1_10, "open", "www.blast.hk/threads/22008/", var_1_13, var_1_14, var_1_15)
  258. drpgcmd()
  259. end
  260. end
  261. end
  262. end
  263. end
  264. end
  265. end
  266. end
  267. end
  268. end
  269. end
  270. end
  271. end
  272. if ragekillzombie then
  273. --jump to 0309 (if previous if statement is false) --0309 JMP-JMP
  274. var_1_5 = isCharOnFoot(playerPed)
  275. if var_1_5 then
  276. --jump to 0309 (if previous if statement is false) --0309 JMP-JMP
  277. var_1_5 = getAllChars()
  278. var_1_7 = var_1_5
  279. for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
  280. --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
  281. var_1_12 = var_1_10
  282. var_1_11 = doesCharExist(var_1_12)
  283. if var_1_11 then
  284. --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
  285. var_1_13 = var_1_10
  286. var_1_12 = getCharModel(var_1_13)
  287. if unknown0 then
  288. --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
  289. var_1_12 = var_1_10
  290. var_1_11, var_1_12 = sampGetPlayerIdByCharHandle(var_1_12)
  291. if var_1_11 then
  292. --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
  293. var_1_13 = getCurrentCharWeapon(playerPed)
  294. if var_1_13 == 1 then
  295. --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
  296. var_1_14 = var_1_12
  297. var_1_15 = 200 --var_1_15 NUMBER-NUMBER
  298. var_1_16 = 0 --var_1_16 NUMBER-NUMBER
  299. var_1_17 = 3 --var_1_17 NUMBER-NUMBER
  300. sampSendGiveDamage(var_1_14, var_1_15, var_1_16, var_1_17)
  301. var_1_14 = 225 --var_1_14 NUMBER-NUMBER
  302. wait(var_1_14)
  303. end
  304. end
  305. end
  306. end
  307. --end of a for loop
  308. end
  309. end
  310. end
  311. if ragekillzombie10m then
  312. --jump to 0373 (if previous if statement is false) --0373 JMP-JMP
  313. var_1_5 = isCharOnFoot(playerPed)
  314. if var_1_5 then
  315. --jump to 0373 (if previous if statement is false) --0373 JMP-JMP
  316. var_1_5 = getAllChars()
  317. var_1_7 = var_1_5
  318. for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
  319. --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
  320. var_1_12 = var_1_10
  321. var_1_11 = doesCharExist(var_1_12)
  322. if var_1_11 then
  323. --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
  324. var_1_13 = var_1_10
  325. var_1_12 = getCharModel(var_1_13)
  326. if unknown1 then
  327. --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
  328. var_1_12 = var_1_10
  329. var_1_11, var_1_12 = sampGetPlayerIdByCharHandle(var_1_12)
  330. if var_1_11 then
  331. --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
  332. var_1_14 = var_1_10
  333. var_1_13, var_1_14, var_1_15 = getCharCoordinates(var_1_14)
  334. var_1_16, var_1_17, var_1_18 = getCharCoordinates(playerPed)
  335. var_1_20 = var_1_13
  336. var_1_21 = var_1_14
  337. var_1_22 = var_1_15
  338. var_1_23 = var_1_16
  339. var_1_24 = var_1_17
  340. var_1_25 = var_1_18
  341. var_1_19 = getDistanceBetweenCoords3d(var_1_20, var_1_21, var_1_22, var_1_23, var_1_24, var_1_25)
  342. var_1_20 = 10.1 --var_1_20 NUMBER-NUMBER
  343. if var_1_19 <= var_1_20 then
  344. --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
  345. var_1_20 = getCurrentCharWeapon(playerPed)
  346. if var_1_20 == 1 then
  347. --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
  348. var_1_21 = var_1_12
  349. var_1_22 = 200 --var_1_22 NUMBER-NUMBER
  350. var_1_23 = 0 --var_1_23 NUMBER-NUMBER
  351. var_1_24 = 3 --var_1_24 NUMBER-NUMBER
  352. sampSendGiveDamage(var_1_21, var_1_22, var_1_23, var_1_24)
  353. var_1_21 = 225 --var_1_21 NUMBER-NUMBER
  354. wait(var_1_21)
  355. end
  356. end
  357. end
  358. end
  359. end
  360. --end of a for loop
  361. end
  362. end
  363. end
  364. if legitkillzombie then
  365. --jump to 0593 (if previous if statement is false) --0593 JMP-JMP
  366. var_1_5 = isCharOnFoot(playerPed)
  367. if var_1_5 then
  368. --jump to 0593 (if previous if statement is false) --0593 JMP-JMP
  369. var_1_5 = getAllChars()
  370. var_1_7 = var_1_5
  371. for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
  372. --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
  373. var_1_12 = var_1_10
  374. var_1_11 = doesCharExist(var_1_12)
  375. if var_1_11 then
  376. --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
  377. var_1_12 = var_1_10
  378. var_1_11, var_1_12 = sampGetPlayerIdByCharHandle(var_1_12)
  379. if var_1_11 then
  380. --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
  381. var_1_15 = var_1_10
  382. var_1_14 = getCharModel(var_1_15)
  383. if unknown2 then
  384. --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
  385. var_1_14 = var_1_10
  386. var_1_13, var_1_14, var_1_15 = getCharCoordinates(var_1_14)
  387. var_1_16, var_1_17, var_1_18 = getCharCoordinates(playerPed)
  388. var_1_20 = var_1_13
  389. var_1_21 = var_1_14
  390. var_1_22 = var_1_15
  391. var_1_23 = var_1_16
  392. var_1_24 = var_1_17
  393. var_1_25 = var_1_18
  394. var_1_19 = getDistanceBetweenCoords3d(var_1_20, var_1_21, var_1_22, var_1_23, var_1_24, var_1_25)
  395. var_1_22 = 0.3 --var_1_22 NUMBER-NUMBER
  396. var_1_23 = 1.8 --var_1_23 NUMBER-NUMBER
  397. var_1_24 = -1 --var_1_24 NUMBER-NUMBER
  398. var_1_20, var_1_21, var_1_22 = getOffsetFromCharInWorldCoords(playerPed, var_1_22, var_1_23, var_1_24)
  399. var_1_25 = 0 --var_1_25 NUMBER-NUMBER
  400. var_1_26 = 2 --var_1_26 NUMBER-NUMBER
  401. var_1_27 = -1 --var_1_27 NUMBER-NUMBER
  402. var_1_23, var_1_24, var_1_25 = getOffsetFromCharInWorldCoords(playerPed, var_1_25, var_1_26, var_1_27)
  403. var_1_26 = getCurrentCharWeapon(playerPed)
  404. if var_1_26 ~= 14 then
  405. --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
  406. var_1_26 = getCurrentCharWeapon(playerPed)
  407. if var_1_26 ~= 15 then
  408. --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
  409. var_1_26 = getCurrentCharWeapon(playerPed)
  410. if var_1_26 ~= 16 then
  411. --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
  412. var_1_26 = getCurrentCharWeapon(playerPed)
  413. if var_1_26 ~= 17 then
  414. --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
  415. var_1_26 = getCurrentCharWeapon(playerPed)
  416. if var_1_26 ~= 18 then
  417. --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
  418. var_1_26 = getCurrentCharWeapon(playerPed)
  419. if var_1_26 == 19 then
  420. -- maybe?
  421. end
  422. end
  423. end
  424. end
  425. end
  426. else
  427. --location 0460--0460 LOCATION-LOCATION_
  428. var_1_26 = 35.1 --var_1_26 NUMBER-NUMBER
  429. if var_1_19 <= var_1_26 then
  430. --jump to 0476 (if previous if statement is false) --0476 JMP-JMP
  431. var_1_27 = var_1_10
  432. var_1_28 = var_1_20
  433. var_1_29 = var_1_21
  434. var_1_30 = var_1_22
  435. setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
  436. var_1_27 = var_1_10
  437. var_1_28 = getCharHeading(playerPed)
  438. var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
  439. end
  440. setCharHeading(var_1_27, var_1_28)
  441. end
  442. var_1_26 = getCurrentCharWeapon(playerPed)
  443. if var_1_26 ~= 22 then
  444. --jump to 0486 (if previous if statement is false) --0486 JMP-JMP
  445. var_1_26 = getCurrentCharWeapon(playerPed)
  446. if var_1_26 == 23 then
  447. end -- maybe?
  448. else
  449. --location 0486--0486 LOCATION-LOCATION_
  450. var_1_26 = 40.1 --var_1_26 NUMBER-NUMBER
  451. if var_1_19 <= var_1_26 then
  452. --jump to 0502 (if previous if statement is false) --0502 JMP-JMP
  453. var_1_27 = var_1_10
  454. var_1_28 = var_1_20
  455. var_1_29 = var_1_21
  456. var_1_30 = var_1_22
  457. setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
  458. var_1_27 = var_1_10
  459. var_1_28 = getCharHeading(playerPed)
  460. var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
  461. end
  462. setCharHeading(var_1_27, var_1_28)
  463. end
  464. var_1_26 = getCurrentCharWeapon(playerPed)
  465. if var_1_26 == 25 then
  466. --jump to 0523 (if previous if statement is false) --0523 JMP-JMP
  467. var_1_26 = 45.1 --var_1_26 NUMBER-NUMBER
  468. if var_1_19 <= var_1_26 then
  469. --jump to 0523 (if previous if statement is false) --0523 JMP-JMP
  470. var_1_27 = var_1_10
  471. var_1_28 = var_1_20
  472. var_1_29 = var_1_21
  473. var_1_30 = var_1_22
  474. setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
  475. var_1_27 = var_1_10
  476. var_1_28 = getCharHeading(playerPed)
  477. var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
  478. setCharHeading(var_1_27, var_1_28)
  479. end
  480. end
  481. var_1_26 = getCurrentCharWeapon(playerPed)
  482. if var_1_26 ~= 27 then
  483. --jump to 0533 (if previous if statement is false) --0533 JMP-JMP
  484. var_1_26 = getCurrentCharWeapon(playerPed)
  485. if var_1_26 == 28 then
  486. end -- maybe?
  487. else
  488. --location 0533--0533 LOCATION-LOCATION_
  489. var_1_26 = 90.1 --var_1_26 NUMBER-NUMBER
  490. if var_1_19 <= var_1_26 then
  491. --jump to 0549 (if previous if statement is false) --0549 JMP-JMP
  492. var_1_27 = var_1_10
  493. var_1_28 = var_1_20
  494. var_1_29 = var_1_21
  495. var_1_30 = var_1_22
  496. setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
  497. var_1_27 = var_1_10
  498. var_1_28 = getCharHeading(playerPed)
  499. var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
  500. end
  501. setCharHeading(var_1_27, var_1_28)
  502. end
  503. var_1_26 = getCurrentCharWeapon(playerPed)
  504. if var_1_26 == 30 then
  505. --jump to 0570 (if previous if statement is false) --0570 JMP-JMP
  506. var_1_26 = 90.1 --var_1_26 NUMBER-NUMBER
  507. if var_1_19 <= var_1_26 then
  508. --jump to 0570 (if previous if statement is false) --0570 JMP-JMP
  509. var_1_27 = var_1_10
  510. var_1_28 = var_1_20
  511. var_1_29 = var_1_21
  512. var_1_30 = var_1_22
  513. setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
  514. var_1_27 = var_1_10
  515. var_1_28 = getCharHeading(playerPed)
  516. var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
  517. setCharHeading(var_1_27, var_1_28)
  518. end
  519. end
  520. var_1_26 = getCurrentCharWeapon(playerPed)
  521. if var_1_26 == 31 then
  522. --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
  523. var_1_26 = 300.1 --var_1_26 NUMBER-NUMBER
  524. if var_1_19 <= var_1_26 then
  525. --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
  526. var_1_27 = var_1_10
  527. var_1_28 = var_1_23
  528. var_1_29 = var_1_24
  529. var_1_30 = var_1_25
  530. setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
  531. var_1_27 = var_1_10
  532. end
  533. end
  534. end
  535. end
  536. var_1_28 = getCharHeading(playerPed)
  537. var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
  538. end
  539. setCharHeading(var_1_27, var_1_28)
  540. end
  541. end --end of a for loop
  542. end
  543. if legitkillzombieaim then
  544. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  545. var_1_5 = isCharOnFoot(playerPed)
  546. if var_1_5 then
  547. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  548. var_1_5, var_1_6 = getCharPlayerIsTargeting()
  549. if var_1_5 then
  550. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  551. var_1_8 = var_1_6
  552. var_1_7 = doesCharExist(var_1_8)
  553. if var_1_7 then
  554. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  555. var_1_8 = var_1_6
  556. var_1_7, var_1_8 = sampGetPlayerIdByCharHandle(var_1_8)
  557. if var_1_7 then
  558. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  559. var_1_11 = var_1_6
  560. var_1_10 = getCharModel(var_1_11)
  561. if unknown3 then
  562. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  563. var_1_10 = var_1_6
  564. var_1_9, var_1_10, var_1_11 = getCharCoordinates(var_1_10)
  565. var_1_12, var_1_13, var_1_14 = getCharCoordinates(playerPed)
  566. var_1_16 = var_1_9
  567. var_1_17 = var_1_10
  568. var_1_18 = var_1_11
  569. var_1_19 = var_1_12
  570. var_1_20 = var_1_13
  571. var_1_21 = var_1_14
  572. var_1_15 = getDistanceBetweenCoords3d(var_1_16, var_1_17, var_1_18, var_1_19, var_1_20, var_1_21)
  573. var_1_18 = 0.3 --var_1_18 NUMBER-NUMBER
  574. var_1_19 = 1.8 --var_1_19 NUMBER-NUMBER
  575. var_1_20 = -1 --var_1_20 NUMBER-NUMBER
  576. var_1_16, var_1_17, var_1_18 = getOffsetFromCharInWorldCoords(playerPed, var_1_18, var_1_19, var_1_20)
  577. var_1_19 = getCurrentCharWeapon(playerPed)
  578. if var_1_19 ~= 14 then
  579. --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
  580. var_1_19 = getCurrentCharWeapon(playerPed)
  581. if var_1_19 ~= 15 then
  582. --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
  583. var_1_19 = getCurrentCharWeapon(playerPed)
  584. if var_1_19 ~= 16 then
  585. --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
  586. var_1_19 = getCurrentCharWeapon(playerPed)
  587. if var_1_19 ~= 17 then
  588. --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
  589. var_1_19 = getCurrentCharWeapon(playerPed)
  590. if var_1_19 ~= 18 then
  591. --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
  592. var_1_19 = getCurrentCharWeapon(playerPed)
  593. if var_1_19 == 19 then
  594. -- maybe?
  595. end
  596. end
  597. end
  598. end
  599. end
  600. else
  601. --location 0672--0672 LOCATION-LOCATION_
  602. var_1_19 = 35.1 --var_1_19 NUMBER-NUMBER
  603. if var_1_15 <= var_1_19 then
  604. --jump to 0688 (if previous if statement is false) --0688 JMP-JMP
  605. var_1_20 = var_1_6
  606. var_1_21 = var_1_16
  607. var_1_22 = var_1_17
  608. var_1_23 = var_1_18
  609. setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
  610. var_1_20 = var_1_6
  611. var_1_21 = getCharHeading(playerPed)
  612. var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
  613. end
  614. setCharHeading(var_1_20, var_1_21)
  615. end
  616. var_1_19 = getCurrentCharWeapon(playerPed)
  617. if var_1_19 ~= 22 then
  618. --jump to 0698 (if previous if statement is false) --0698 JMP-JMP
  619. var_1_19 = getCurrentCharWeapon(playerPed)
  620. if var_1_19 == 23 then
  621. end -- maybe?
  622. else
  623. --location 0698--0698 LOCATION-LOCATION_
  624. var_1_19 = 40.1 --var_1_19 NUMBER-NUMBER
  625. if var_1_15 <= var_1_19 then
  626. --jump to 0714 (if previous if statement is false) --0714 JMP-JMP
  627. var_1_20 = var_1_6
  628. var_1_21 = var_1_16
  629. var_1_22 = var_1_17
  630. var_1_23 = var_1_18
  631. setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
  632. var_1_20 = var_1_6
  633. var_1_21 = getCharHeading(playerPed)
  634. var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
  635. end
  636. setCharHeading(var_1_20, var_1_21)
  637. end
  638. var_1_19 = getCurrentCharWeapon(playerPed)
  639. if var_1_19 == 25 then
  640. --jump to 0735 (if previous if statement is false) --0735 JMP-JMP
  641. var_1_19 = 45.1 --var_1_19 NUMBER-NUMBER
  642. if var_1_15 <= var_1_19 then
  643. --jump to 0735 (if previous if statement is false) --0735 JMP-JMP
  644. var_1_20 = var_1_6
  645. var_1_21 = var_1_16
  646. var_1_22 = var_1_17
  647. var_1_23 = var_1_18
  648. setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
  649. var_1_20 = var_1_6
  650. var_1_21 = getCharHeading(playerPed)
  651. var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
  652. setCharHeading(var_1_20, var_1_21)
  653. end
  654. end
  655. var_1_19 = getCurrentCharWeapon(playerPed)
  656. if var_1_19 ~= 27 then
  657. --jump to 0745 (if previous if statement is false) --0745 JMP-JMP
  658. var_1_19 = getCurrentCharWeapon(playerPed)
  659. if var_1_19 == 28 then
  660. end -- maybe?
  661. else
  662. --location 0745--0745 LOCATION-LOCATION_
  663. var_1_19 = 90.1 --var_1_19 NUMBER-NUMBER
  664. if var_1_15 <= var_1_19 then
  665. --jump to 0761 (if previous if statement is false) --0761 JMP-JMP
  666. var_1_20 = var_1_6
  667. var_1_21 = var_1_16
  668. var_1_22 = var_1_17
  669. var_1_23 = var_1_18
  670. setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
  671. var_1_20 = var_1_6
  672. var_1_21 = getCharHeading(playerPed)
  673. var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
  674. end
  675. setCharHeading(var_1_20, var_1_21)
  676. end
  677. var_1_19 = getCurrentCharWeapon(playerPed)
  678. if var_1_19 == 30 then
  679. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  680. var_1_19 = 90.1 --var_1_19 NUMBER-NUMBER
  681. if var_1_15 <= var_1_19 then
  682. --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
  683. var_1_20 = var_1_6
  684. var_1_21 = var_1_16
  685. var_1_22 = var_1_17
  686. var_1_23 = var_1_18
  687. setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
  688. var_1_20 = var_1_6
  689. end
  690. end
  691. end
  692. end
  693. end
  694. end
  695. end
  696. var_1_21 = getCharHeading(playerPed)
  697. var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
  698. setCharHeading(var_1_20, var_1_21)
  699. end
  700. if tup then
  701. --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
  702. var_1_5 = isCharOnFoot(playerPed)
  703. if var_1_5 then
  704. --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
  705. var_1_5 = getAllObjects()
  706. var_1_7 = var_1_5
  707. for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
  708. --jump to 0824 (if previous if statement is false) --0824 JMP-JMP
  709. var_1_12 = var_1_10
  710. var_1_11 = doesObjectExist(var_1_12)
  711. if var_1_11 then
  712. --jump to 0824 (if previous if statement is false) --0824 JMP-JMP
  713. var_1_12 = var_1_10
  714. var_1_11 = getObjectModel(var_1_12)
  715. if var_1_11 == 33 then
  716. --jump to 0824 (if previous if statement is false) --0824 JMP-JMP
  717. var_1_14 = 0.62 --var_1_14 NUMBER-NUMBER
  718. var_1_15 = 1.8 --var_1_15 NUMBER-NUMBER
  719. var_1_16 = 2.55 --var_1_16 NUMBER-NUMBER
  720. var_1_12, var_1_13, var_1_14 = getOffsetFromCharInWorldCoords(playerPed, var_1_14, var_1_15, var_1_16)
  721. var_1_16 = var_1_10
  722. var_1_17 = var_1_12
  723. var_1_18 = var_1_13
  724. var_1_19 = var_1_14
  725. setObjectCoordinates(var_1_16, var_1_17, var_1_18, var_1_19)
  726. var_1_16 = var_1_10
  727. setObjectHeading(var_1_16, getCharHeading(playerPed) )
  728. end
  729. end
  730. end
  731. end
  732. end
  733. --location 0824--0824 LOCATION-LOCATION
  734. end --end of a for loop
  735. --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
  736. until false or (previous if statement is true) --location 0827
  737. return
  738. end
  739.  
  740.  
  741. function randomFunction drpgcmd ()
  742. var_2_0 = string.format("{0094c8}���� �������:")
  743. menukilltext = var_2_0
  744. var_2_1 = "%s {ffffff}������� ����� � ������({66000" --strings longer than 40 characters get cut off, so check to see if there's more!
  745. if ragekillzombie then
  746. --jump to 0014 (if previous if statement is false) --0014 JMP-JMP
  747. else
  748. --location 0014--0014 LOCATION-LOCATION_
  749. end
  750. var_2_0 = string.format(var_2_1, var_2_2)
  751. ragekillzombietext = var_2_0
  752. until false or (previous if statement is true) --location 0019
  753. var_2_1 = "%s {ffffff}������� ����� � ������� 10�({" --strings longer than 40 characters get cut off, so check to see if there's more!
  754. if ragekillzombie10m then
  755. --jump to 0025 (if previous if statement is false) --0025 JMP-JMP
  756. --jump to 0026 (if previous if statement is false) --0026 JMP-JMP
  757. var_2_0 = string.format(var_2_1, var_2_2)
  758. ragekillzombie10mtext = var_2_0
  759. var_2_1 = "%s {ffffff}����������� ����� � ������({f" --strings longer than 40 characters get cut off, so check to see if there's more!
  760. if legitkillzombie then
  761. --jump to 0036 (if previous if statement is false) --0036 JMP-JMP
  762. --jump to 0037 (if previous if statement is false) --0037 JMP-JMP
  763. var_2_0 = string.format(var_2_1, var_2_2)
  764. legitkillzombietext = var_2_0
  765. var_2_1 = "%s {ffffff}����������� ����� �� �������(" --strings longer than 40 characters get cut off, so check to see if there's more!
  766. if legitkillzombieaim then
  767. --jump to 0047 (if previous if statement is false) --0047 JMP-JMP
  768. until false or (previous if statement is true) --location 0045
  769. --jump to 0048 (if previous if statement is false) --0048 JMP-JMP
  770. var_2_0 = string.format(var_2_1, var_2_2)
  771. legitkillzombieaimtext = var_2_0
  772. var_2_0 = string.format("{0094c8}������:")
  773. othertext = var_2_0
  774. if headshot then
  775. --jump to 0063 (if previous if statement is false) --0063 JMP-JMP
  776. --jump to 0064 (if previous if statement is false) --0064 JMP-JMP
  777. var_2_0 = string.format("%s {ffffff}��������� � ������", var_2_2)
  778. headshottext = var_2_0
  779. if tup then
  780. --jump to 0074 (if previous if statement is false) --0074 JMP-JMP
  781. --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
  782. var_2_0 = string.format("%s {ffffff}��� ������", var_2_2)
  783. tuptext = var_2_0
  784. if wallhack then
  785. --jump to 0085 (if previous if statement is false) --0085 JMP-JMP
  786. --jump to 0086 (if previous if statement is false) --0086 JMP-JMP
  787. var_2_2 = "{b30000}[OFF]" --"{00b300}[ON]" STRING-STRING
  788. var_2_0 = string.format("%s {ffffff}Name Tag WallHack", var_2_2)
  789. wallhacktext = var_2_0
  790. var_2_1 = "{0094c8}� ����. �����������: {ff6100}���" --strings longer than 40 characters get cut off, so check to see if there's more!
  791. var_2_0 = string.format(var_2_1)
  792. updatetext = var_2_0
  793. var_2_0 = string.format("{0094c8}��������� ����������")
  794. blasthacktext = var_2_0
  795. var_2_1 = 27518 --var_2_1 NUMBER-NUMBER
  796. var_2_2 = "{ff6100}Delirium RPG | v1.0 {FFFFFF}by {" --strings longer than 40 characters get cut off, so check to see if there's more!
  797. var_2_3 = string.format("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s", menukilltext, ragekillzombietext, ragekillzombie10mtext, legitkillzombietext, legitkillzombieaimtext, othertext, headshottext, tuptext, wallhacktext, updatetext, blasthacktext)
  798. var_2_6 = 2 --var_2_6 NUMBER-NUMBER
  799. sampShowDialog(var_2_1, var_2_2, var_2_3, "{ffff99}*�������*", "{330066}~�������~", var_2_6)
  800. return
  801. end
  802. end end end end end end --REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME
  803.  
  804. function randomFunction nameTagOn ()
  805. var_3_0 = sampGetServerSettingsPtr()
  806. var_3_2 = var_3_0 + 39 --var_3_2 NUMBER-NUMBER
  807. var_3_1 = uget_3_0.getfloat(var_3_2)
  808. NTdist = var_3_1
  809. var_3_2 = var_3_0 + 47 --var_3_2 NUMBER-NUMBER
  810. var_3_1 = uget_3_0.getint8(var_3_2)
  811. NTwalls = var_3_1
  812. var_3_2 = var_3_0 + 56 --var_3_2 NUMBER-NUMBER
  813. var_3_1 = uget_3_0.getint8(var_3_2)
  814. NTshow = var_3_1
  815. until false or (previous if statement is true) --location 0019
  816. var_3_2 = var_3_0 + 39 --var_3_2 NUMBER-NUMBER
  817. var_3_3 = 1488 --var_3_3 NUMBER-NUMBER
  818. uget_3_0.setfloat(var_3_2, var_3_3)
  819. var_3_2 = var_3_0 + 47 --var_3_2 NUMBER-NUMBER
  820. var_3_3 = 0 --var_3_3 NUMBER-NUMBER
  821. uget_3_0.setint8(var_3_2, var_3_3)
  822. var_3_2 = var_3_0 + 56 --var_3_2 NUMBER-NUMBER
  823. var_3_3 = 1 --var_3_3 NUMBER-NUMBER
  824. uget_3_0.setint8(var_3_2, var_3_3)
  825. return
  826. end
  827.  
  828.  
  829. function randomFunction nameTagOff ()
  830. var_4_0 = sampGetServerSettingsPtr()
  831. var_4_2 = var_4_0 + 39 --var_4_2 NUMBER-NUMBER
  832. uget_4_0.setfloat(var_4_2, NTdist)
  833. var_4_2 = var_4_0 + 47 --var_4_2 NUMBER-NUMBER
  834. uget_4_0.setint8(var_4_2, NTwalls)
  835. var_4_2 = var_4_0 + 56 --var_4_2 NUMBER-NUMBER
  836. uget_4_0.setint8(var_4_2, NTshow)
  837. return
  838. end
  839.  
  840.  
  841. function someFunc5()
  842. script_name("Delirium RPG")
  843. script_author("kraft1k")
  844. script_version("v1.0")
  845. require("lib.moonloader")
  846. require("sampfuncs")
  847. var_5_0 = require("samp.events")
  848. until false or (previous if statement is true) --location 0019
  849. var_5_1 = require("memory")
  850. var_5_2 = {} --to find out the contents of this table look inside the lua file
  851. var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
  852. ragekillzombie = var_5_3
  853. var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
  854. ragekillzombie10m = var_5_3
  855. var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
  856. legitkillzombie = var_5_3
  857. var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
  858. legitkillzombieaim = var_5_3
  859. var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
  860. headshot = var_5_3
  861. var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
  862. tup = var_5_3
  863. var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
  864. wallhack = var_5_3
  865. local randomFunction0 = function() end -- starts at test.lua:0
  866. var_5_0.onSendGiveDamage = randomFunction0
  867. local randomFunction1 = function() end -- starts at test.lua:0
  868. main = randomFunction1
  869. local randomFunction2 = function() end -- starts at test.lua:0
  870. drpgcmd = randomFunction2
  871. local randomFunction3 = function() end -- starts at test.lua:0
  872. nameTagOn = randomFunction3
  873. until false or (previous if statement is true) --location 0045
  874. local randomFunction4 = function() end -- starts at test.lua:0
  875. nameTagOff = randomFunction4
  876. return
  877. end
  878.  
  879.  
  880.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement