Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --lua 5.3
- function randomFunction var_5_0.onSendGiveDamage (INPUT_VAR_0_,INPUT_VAR_1_,INPUT_VAR_2_)
- if headshot then
- --jump to 0009 (if previous if statement is false) --0009 JMP-JMP
- var_0_4 = {} --to find out the contents of this table look inside the lua file
- var_0_4[1] = INPUT_VAR_0_
- var_0_4[2] = INPUT_VAR_1_
- var_0_4[3] = INPUT_VAR_2_
- return var_0_4
- end
- return
- end
- function randomFunction main ()
- var_1_0 = isSampfuncsLoaded()
- if var_1_0 then
- --jump to 0009 (if previous if statement is false) --0009 JMP-JMP
- var_1_0 = isSampLoaded()
- if not var_1_0 then
- end -- maybe?
- else
- --location 0009--0009 LOCATION-LOCATION_
- return
- end
- var_1_0 = isSampAvailable()
- if not var_1_0 then
- --jump to 0019 (if previous if statement is false) --0019 JMP-JMP
- repeat
- var_1_1 = 0 --var_1_1 NUMBER-NUMBER
- wait(var_1_1)
- else
- --location 0019--0019 LOCATION-LOCATION_
- until false or (previous if statement is true) --location 0019
- var_1_1 = sampGetCurrentServerAddress()
- if var_1_1 ~= "delirium-amber.ru:7777" then
- --jump to 0026 (if previous if statement is false) --0026 JMP-JMP
- var_1_1 = false --var_1_1 PRIMITIVE-PRIMITIVE
- else
- --location 0026--0026 LOCATION-LOCATION_
- var_1_1 = true --var_1_1 PRIMITIVE-PRIMITIVE
- end
- var_1_0 = assert(var_1_1, "Server not Delirium RPG")
- if var_1_0 then
- --jump to 0065 (if previous if statement is false) --0065 JMP-JMP
- var_1_0 = doesFileExist("moonloader\DeliriumRpgByKraft1k.luac")
- if var_1_0 then
- --jump to 0061 (if previous if statement is false) --0061 JMP-JMP
- var_1_0 = sampIsLocalPlayerSpawned()
- if not var_1_0 then
- --jump to 0045 (if previous if statement is false) --0045 JMP-JMP
- repeat
- var_1_1 = 0 --var_1_1 NUMBER-NUMBER
- wait(var_1_1)
- else
- --location 0045--0045 LOCATION-LOCATION_
- until false or (previous if statement is true) --location 0045
- sampRegisterChatCommand("delirium", drpgcmd)
- var_1_1 = 5000 --var_1_1 NUMBER-NUMBER
- wait(var_1_1)
- 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!
- var_1_2 = -1 --var_1_2 NUMBER-NUMBER
- sampAddChatMessage(var_1_1, var_1_2)
- var_1_1 = "[{ff6100}Delirium RPG{FFFFFF}] {FFFFFF}�" --strings longer than 40 characters get cut off, so check to see if there's more!
- var_1_2 = -1 --var_1_2 NUMBER-NUMBER
- sampAddChatMessage(var_1_1, var_1_2)
- end
- else
- --location 0061--0061 LOCATION-LOCATION_
- var_1_1 = "[{ff6100}Delirium RPG{FFFFFF}] {43A8B9}�" --strings longer than 40 characters get cut off, so check to see if there's more!
- var_1_2 = -1 --var_1_2 NUMBER-NUMBER
- sampAddChatMessage(var_1_1, var_1_2)
- end
- end
- var_1_2 = 8 --var_1_2 NUMBER-NUMBER
- var_1_3 = 6 --var_1_3 NUMBER-NUMBER
- var_1_0 = renderCreateFont("Times New Roman", var_1_2, var_1_3)
- var_1_3 = 6 --var_1_3 NUMBER-NUMBER
- var_1_4 = 6 --var_1_4 NUMBER-NUMBER
- var_1_1 = renderCreateFont("Tahoma", var_1_3, var_1_4)
- repeat
- var_1_3 = 0 --var_1_3 NUMBER-NUMBER
- wait(var_1_3)
- var_1_3 = 27518 --var_1_3 NUMBER-NUMBER
- var_1_2, var_1_3, var_1_4 = sampHasDialogRespond(var_1_3)
- if var_1_2 then
- --jump to 0262 (if previous if statement is false) --0262 JMP-JMP
- if var_1_3 == 0 then
- --jump to 0262 (if previous if statement is false) --0262 JMP-JMP
- if var_1_4 == 1 then
- --jump to 0091 (if previous if statement is false) --0091 JMP-JMP
- drpgcmd()
- else
- --location 0091--0091 LOCATION-LOCATION_
- if var_1_4 == 0 then
- --jump to 0112 (if previous if statement is false) --0112 JMP-JMP
- if ragekillzombie then
- --jump to 0099 (if previous if statement is false) --0099 JMP-JMP
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie = var_1_5
- else
- --location 0099--0099 LOCATION-LOCATION_
- var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie10m = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombieaim = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- playeraim = var_1_5
- end
- drpgcmd()
- else
- --location 0112--0112 LOCATION-LOCATION_
- if var_1_4 == 2 then
- --jump to 0133 (if previous if statement is false) --0133 JMP-JMP
- if ragekillzombie10m then
- --jump to 0120 (if previous if statement is false) --0120 JMP-JMP
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie10m = var_1_5
- else
- --location 0120--0120 LOCATION-LOCATION_
- var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie10m = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombieaim = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- playeraim = var_1_5
- end
- drpgcmd()
- else
- --location 0133--0133 LOCATION-LOCATION_
- if var_1_4 == 3 then
- --jump to 0154 (if previous if statement is false) --0154 JMP-JMP
- if legitkillzombie then
- --jump to 0141 (if previous if statement is false) --0141 JMP-JMP
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombie = var_1_5
- else
- --location 0141--0141 LOCATION-LOCATION_
- var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie10m = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombieaim = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- playeraim = var_1_5
- end
- drpgcmd()
- else
- --location 0154--0154 LOCATION-LOCATION_
- if var_1_4 == 4 then
- --jump to 0175 (if previous if statement is false) --0175 JMP-JMP
- if legitkillzombieaim then
- --jump to 0162 (if previous if statement is false) --0162 JMP-JMP
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombieaim = var_1_5
- else
- --location 0162--0162 LOCATION-LOCATION_
- var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombieaim = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- ragekillzombie10m = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- legitkillzombie = var_1_5
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- playeraim = var_1_5
- end
- drpgcmd()
- else
- --location 0175--0175 LOCATION-LOCATION_
- if var_1_4 == 5 then
- --jump to 0180 (if previous if statement is false) --0180 JMP-JMP
- drpgcmd()
- else
- --location 0180--0180 LOCATION-LOCATION_
- if var_1_4 == 6 then
- --jump to 0193 (if previous if statement is false) --0193 JMP-JMP
- if headshot then
- --jump to 0188 (if previous if statement is false) --0188 JMP-JMP
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- headshot = var_1_5
- else
- --location 0188--0188 LOCATION-LOCATION_
- var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
- headshot = var_1_5
- end
- drpgcmd()
- else
- --location 0193--0193 LOCATION-LOCATION_
- if var_1_4 == 7 then
- --jump to 0206 (if previous if statement is false) --0206 JMP-JMP
- if tup then
- --jump to 0201 (if previous if statement is false) --0201 JMP-JMP
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- tup = var_1_5
- else
- --location 0201--0201 LOCATION-LOCATION_
- var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
- tup = var_1_5
- end
- drpgcmd()
- else
- --location 0206--0206 LOCATION-LOCATION_
- if var_1_4 == 8 then
- --jump to 0223 (if previous if statement is false) --0223 JMP-JMP
- if wallhack then
- --jump to 0216 (if previous if statement is false) --0216 JMP-JMP
- var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
- wallhack = var_1_5
- nameTagOff()
- else
- --location 0216--0216 LOCATION-LOCATION_
- var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
- wallhack = var_1_5
- nameTagOn()
- end
- drpgcmd()
- else
- --location 0223--0223 LOCATION-LOCATION_
- if var_1_4 == 9 then
- --jump to 0243 (if previous if statement is false) --0243 JMP-JMP
- var_1_5 = getModuleProcAddress("Shell32.dll", "ShellExecuteA")
- var_1_7 = var_1_5
- var_1_8 = 6 --var_1_8 NUMBER-NUMBER
- var_1_9 = 0 --var_1_9 NUMBER-NUMBER
- var_1_10 = 0 --var_1_10 NUMBER-NUMBER
- var_1_13 = 0 --var_1_13 NUMBER-NUMBER
- var_1_14 = 0 --var_1_14 NUMBER-NUMBER
- var_1_15 = 5 --var_1_15 NUMBER-NUMBER
- 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)
- drpgcmd()
- else
- --location 0243--0243 LOCATION-LOCATION_
- if var_1_4 == 10 then
- --jump to 0262 (if previous if statement is false) --0262 JMP-JMP
- var_1_5 = getModuleProcAddress("Shell32.dll", "ShellExecuteA")
- var_1_7 = var_1_5
- var_1_8 = 6 --var_1_8 NUMBER-NUMBER
- var_1_9 = 0 --var_1_9 NUMBER-NUMBER
- var_1_10 = 0 --var_1_10 NUMBER-NUMBER
- var_1_13 = 0 --var_1_13 NUMBER-NUMBER
- var_1_14 = 0 --var_1_14 NUMBER-NUMBER
- var_1_15 = 5 --var_1_15 NUMBER-NUMBER
- 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)
- drpgcmd()
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- if ragekillzombie then
- --jump to 0309 (if previous if statement is false) --0309 JMP-JMP
- var_1_5 = isCharOnFoot(playerPed)
- if var_1_5 then
- --jump to 0309 (if previous if statement is false) --0309 JMP-JMP
- var_1_5 = getAllChars()
- var_1_7 = var_1_5
- for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
- --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
- var_1_12 = var_1_10
- var_1_11 = doesCharExist(var_1_12)
- if var_1_11 then
- --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
- var_1_13 = var_1_10
- var_1_12 = getCharModel(var_1_13)
- if unknown0 then
- --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
- var_1_12 = var_1_10
- var_1_11, var_1_12 = sampGetPlayerIdByCharHandle(var_1_12)
- if var_1_11 then
- --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
- var_1_13 = getCurrentCharWeapon(playerPed)
- if var_1_13 == 1 then
- --jump to 0307 (if previous if statement is false) --0307 JMP-JMP
- var_1_14 = var_1_12
- var_1_15 = 200 --var_1_15 NUMBER-NUMBER
- var_1_16 = 0 --var_1_16 NUMBER-NUMBER
- var_1_17 = 3 --var_1_17 NUMBER-NUMBER
- sampSendGiveDamage(var_1_14, var_1_15, var_1_16, var_1_17)
- var_1_14 = 225 --var_1_14 NUMBER-NUMBER
- wait(var_1_14)
- end
- end
- end
- end
- --end of a for loop
- end
- end
- end
- if ragekillzombie10m then
- --jump to 0373 (if previous if statement is false) --0373 JMP-JMP
- var_1_5 = isCharOnFoot(playerPed)
- if var_1_5 then
- --jump to 0373 (if previous if statement is false) --0373 JMP-JMP
- var_1_5 = getAllChars()
- var_1_7 = var_1_5
- for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
- --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
- var_1_12 = var_1_10
- var_1_11 = doesCharExist(var_1_12)
- if var_1_11 then
- --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
- var_1_13 = var_1_10
- var_1_12 = getCharModel(var_1_13)
- if unknown1 then
- --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
- var_1_12 = var_1_10
- var_1_11, var_1_12 = sampGetPlayerIdByCharHandle(var_1_12)
- if var_1_11 then
- --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
- var_1_14 = var_1_10
- var_1_13, var_1_14, var_1_15 = getCharCoordinates(var_1_14)
- var_1_16, var_1_17, var_1_18 = getCharCoordinates(playerPed)
- var_1_20 = var_1_13
- var_1_21 = var_1_14
- var_1_22 = var_1_15
- var_1_23 = var_1_16
- var_1_24 = var_1_17
- var_1_25 = var_1_18
- var_1_19 = getDistanceBetweenCoords3d(var_1_20, var_1_21, var_1_22, var_1_23, var_1_24, var_1_25)
- var_1_20 = 10.1 --var_1_20 NUMBER-NUMBER
- if var_1_19 <= var_1_20 then
- --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
- var_1_20 = getCurrentCharWeapon(playerPed)
- if var_1_20 == 1 then
- --jump to 0371 (if previous if statement is false) --0371 JMP-JMP
- var_1_21 = var_1_12
- var_1_22 = 200 --var_1_22 NUMBER-NUMBER
- var_1_23 = 0 --var_1_23 NUMBER-NUMBER
- var_1_24 = 3 --var_1_24 NUMBER-NUMBER
- sampSendGiveDamage(var_1_21, var_1_22, var_1_23, var_1_24)
- var_1_21 = 225 --var_1_21 NUMBER-NUMBER
- wait(var_1_21)
- end
- end
- end
- end
- end
- --end of a for loop
- end
- end
- end
- if legitkillzombie then
- --jump to 0593 (if previous if statement is false) --0593 JMP-JMP
- var_1_5 = isCharOnFoot(playerPed)
- if var_1_5 then
- --jump to 0593 (if previous if statement is false) --0593 JMP-JMP
- var_1_5 = getAllChars()
- var_1_7 = var_1_5
- for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
- --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
- var_1_12 = var_1_10
- var_1_11 = doesCharExist(var_1_12)
- if var_1_11 then
- --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
- var_1_12 = var_1_10
- var_1_11, var_1_12 = sampGetPlayerIdByCharHandle(var_1_12)
- if var_1_11 then
- --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
- var_1_15 = var_1_10
- var_1_14 = getCharModel(var_1_15)
- if unknown2 then
- --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
- var_1_14 = var_1_10
- var_1_13, var_1_14, var_1_15 = getCharCoordinates(var_1_14)
- var_1_16, var_1_17, var_1_18 = getCharCoordinates(playerPed)
- var_1_20 = var_1_13
- var_1_21 = var_1_14
- var_1_22 = var_1_15
- var_1_23 = var_1_16
- var_1_24 = var_1_17
- var_1_25 = var_1_18
- var_1_19 = getDistanceBetweenCoords3d(var_1_20, var_1_21, var_1_22, var_1_23, var_1_24, var_1_25)
- var_1_22 = 0.3 --var_1_22 NUMBER-NUMBER
- var_1_23 = 1.8 --var_1_23 NUMBER-NUMBER
- var_1_24 = -1 --var_1_24 NUMBER-NUMBER
- var_1_20, var_1_21, var_1_22 = getOffsetFromCharInWorldCoords(playerPed, var_1_22, var_1_23, var_1_24)
- var_1_25 = 0 --var_1_25 NUMBER-NUMBER
- var_1_26 = 2 --var_1_26 NUMBER-NUMBER
- var_1_27 = -1 --var_1_27 NUMBER-NUMBER
- var_1_23, var_1_24, var_1_25 = getOffsetFromCharInWorldCoords(playerPed, var_1_25, var_1_26, var_1_27)
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 ~= 14 then
- --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 ~= 15 then
- --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 ~= 16 then
- --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 ~= 17 then
- --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 ~= 18 then
- --jump to 0460 (if previous if statement is false) --0460 JMP-JMP
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 == 19 then
- -- maybe?
- end
- end
- end
- end
- end
- else
- --location 0460--0460 LOCATION-LOCATION_
- var_1_26 = 35.1 --var_1_26 NUMBER-NUMBER
- if var_1_19 <= var_1_26 then
- --jump to 0476 (if previous if statement is false) --0476 JMP-JMP
- var_1_27 = var_1_10
- var_1_28 = var_1_20
- var_1_29 = var_1_21
- var_1_30 = var_1_22
- setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
- var_1_27 = var_1_10
- var_1_28 = getCharHeading(playerPed)
- var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
- end
- setCharHeading(var_1_27, var_1_28)
- end
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 ~= 22 then
- --jump to 0486 (if previous if statement is false) --0486 JMP-JMP
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 == 23 then
- end -- maybe?
- else
- --location 0486--0486 LOCATION-LOCATION_
- var_1_26 = 40.1 --var_1_26 NUMBER-NUMBER
- if var_1_19 <= var_1_26 then
- --jump to 0502 (if previous if statement is false) --0502 JMP-JMP
- var_1_27 = var_1_10
- var_1_28 = var_1_20
- var_1_29 = var_1_21
- var_1_30 = var_1_22
- setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
- var_1_27 = var_1_10
- var_1_28 = getCharHeading(playerPed)
- var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
- end
- setCharHeading(var_1_27, var_1_28)
- end
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 == 25 then
- --jump to 0523 (if previous if statement is false) --0523 JMP-JMP
- var_1_26 = 45.1 --var_1_26 NUMBER-NUMBER
- if var_1_19 <= var_1_26 then
- --jump to 0523 (if previous if statement is false) --0523 JMP-JMP
- var_1_27 = var_1_10
- var_1_28 = var_1_20
- var_1_29 = var_1_21
- var_1_30 = var_1_22
- setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
- var_1_27 = var_1_10
- var_1_28 = getCharHeading(playerPed)
- var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
- setCharHeading(var_1_27, var_1_28)
- end
- end
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 ~= 27 then
- --jump to 0533 (if previous if statement is false) --0533 JMP-JMP
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 == 28 then
- end -- maybe?
- else
- --location 0533--0533 LOCATION-LOCATION_
- var_1_26 = 90.1 --var_1_26 NUMBER-NUMBER
- if var_1_19 <= var_1_26 then
- --jump to 0549 (if previous if statement is false) --0549 JMP-JMP
- var_1_27 = var_1_10
- var_1_28 = var_1_20
- var_1_29 = var_1_21
- var_1_30 = var_1_22
- setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
- var_1_27 = var_1_10
- var_1_28 = getCharHeading(playerPed)
- var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
- end
- setCharHeading(var_1_27, var_1_28)
- end
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 == 30 then
- --jump to 0570 (if previous if statement is false) --0570 JMP-JMP
- var_1_26 = 90.1 --var_1_26 NUMBER-NUMBER
- if var_1_19 <= var_1_26 then
- --jump to 0570 (if previous if statement is false) --0570 JMP-JMP
- var_1_27 = var_1_10
- var_1_28 = var_1_20
- var_1_29 = var_1_21
- var_1_30 = var_1_22
- setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
- var_1_27 = var_1_10
- var_1_28 = getCharHeading(playerPed)
- var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
- setCharHeading(var_1_27, var_1_28)
- end
- end
- var_1_26 = getCurrentCharWeapon(playerPed)
- if var_1_26 == 31 then
- --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
- var_1_26 = 300.1 --var_1_26 NUMBER-NUMBER
- if var_1_19 <= var_1_26 then
- --jump to 0591 (if previous if statement is false) --0591 JMP-JMP
- var_1_27 = var_1_10
- var_1_28 = var_1_23
- var_1_29 = var_1_24
- var_1_30 = var_1_25
- setCharCoordinates(var_1_27, var_1_28, var_1_29, var_1_30)
- var_1_27 = var_1_10
- end
- end
- end
- end
- var_1_28 = getCharHeading(playerPed)
- var_1_28 = var_1_28 + 180 --var_1_28 NUMBER-NUMBER
- end
- setCharHeading(var_1_27, var_1_28)
- end
- end --end of a for loop
- end
- if legitkillzombieaim then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_5 = isCharOnFoot(playerPed)
- if var_1_5 then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_5, var_1_6 = getCharPlayerIsTargeting()
- if var_1_5 then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_8 = var_1_6
- var_1_7 = doesCharExist(var_1_8)
- if var_1_7 then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_8 = var_1_6
- var_1_7, var_1_8 = sampGetPlayerIdByCharHandle(var_1_8)
- if var_1_7 then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_11 = var_1_6
- var_1_10 = getCharModel(var_1_11)
- if unknown3 then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_10 = var_1_6
- var_1_9, var_1_10, var_1_11 = getCharCoordinates(var_1_10)
- var_1_12, var_1_13, var_1_14 = getCharCoordinates(playerPed)
- var_1_16 = var_1_9
- var_1_17 = var_1_10
- var_1_18 = var_1_11
- var_1_19 = var_1_12
- var_1_20 = var_1_13
- var_1_21 = var_1_14
- var_1_15 = getDistanceBetweenCoords3d(var_1_16, var_1_17, var_1_18, var_1_19, var_1_20, var_1_21)
- var_1_18 = 0.3 --var_1_18 NUMBER-NUMBER
- var_1_19 = 1.8 --var_1_19 NUMBER-NUMBER
- var_1_20 = -1 --var_1_20 NUMBER-NUMBER
- var_1_16, var_1_17, var_1_18 = getOffsetFromCharInWorldCoords(playerPed, var_1_18, var_1_19, var_1_20)
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 ~= 14 then
- --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 ~= 15 then
- --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 ~= 16 then
- --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 ~= 17 then
- --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 ~= 18 then
- --jump to 0672 (if previous if statement is false) --0672 JMP-JMP
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 == 19 then
- -- maybe?
- end
- end
- end
- end
- end
- else
- --location 0672--0672 LOCATION-LOCATION_
- var_1_19 = 35.1 --var_1_19 NUMBER-NUMBER
- if var_1_15 <= var_1_19 then
- --jump to 0688 (if previous if statement is false) --0688 JMP-JMP
- var_1_20 = var_1_6
- var_1_21 = var_1_16
- var_1_22 = var_1_17
- var_1_23 = var_1_18
- setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
- var_1_20 = var_1_6
- var_1_21 = getCharHeading(playerPed)
- var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
- end
- setCharHeading(var_1_20, var_1_21)
- end
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 ~= 22 then
- --jump to 0698 (if previous if statement is false) --0698 JMP-JMP
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 == 23 then
- end -- maybe?
- else
- --location 0698--0698 LOCATION-LOCATION_
- var_1_19 = 40.1 --var_1_19 NUMBER-NUMBER
- if var_1_15 <= var_1_19 then
- --jump to 0714 (if previous if statement is false) --0714 JMP-JMP
- var_1_20 = var_1_6
- var_1_21 = var_1_16
- var_1_22 = var_1_17
- var_1_23 = var_1_18
- setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
- var_1_20 = var_1_6
- var_1_21 = getCharHeading(playerPed)
- var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
- end
- setCharHeading(var_1_20, var_1_21)
- end
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 == 25 then
- --jump to 0735 (if previous if statement is false) --0735 JMP-JMP
- var_1_19 = 45.1 --var_1_19 NUMBER-NUMBER
- if var_1_15 <= var_1_19 then
- --jump to 0735 (if previous if statement is false) --0735 JMP-JMP
- var_1_20 = var_1_6
- var_1_21 = var_1_16
- var_1_22 = var_1_17
- var_1_23 = var_1_18
- setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
- var_1_20 = var_1_6
- var_1_21 = getCharHeading(playerPed)
- var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
- setCharHeading(var_1_20, var_1_21)
- end
- end
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 ~= 27 then
- --jump to 0745 (if previous if statement is false) --0745 JMP-JMP
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 == 28 then
- end -- maybe?
- else
- --location 0745--0745 LOCATION-LOCATION_
- var_1_19 = 90.1 --var_1_19 NUMBER-NUMBER
- if var_1_15 <= var_1_19 then
- --jump to 0761 (if previous if statement is false) --0761 JMP-JMP
- var_1_20 = var_1_6
- var_1_21 = var_1_16
- var_1_22 = var_1_17
- var_1_23 = var_1_18
- setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
- var_1_20 = var_1_6
- var_1_21 = getCharHeading(playerPed)
- var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
- end
- setCharHeading(var_1_20, var_1_21)
- end
- var_1_19 = getCurrentCharWeapon(playerPed)
- if var_1_19 == 30 then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_19 = 90.1 --var_1_19 NUMBER-NUMBER
- if var_1_15 <= var_1_19 then
- --jump to 0782 (if previous if statement is false) --0782 JMP-JMP
- var_1_20 = var_1_6
- var_1_21 = var_1_16
- var_1_22 = var_1_17
- var_1_23 = var_1_18
- setCharCoordinates(var_1_20, var_1_21, var_1_22, var_1_23)
- var_1_20 = var_1_6
- end
- end
- end
- end
- end
- end
- end
- var_1_21 = getCharHeading(playerPed)
- var_1_21 = var_1_21 + 180 --var_1_21 NUMBER-NUMBER
- setCharHeading(var_1_20, var_1_21)
- end
- if tup then
- --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
- var_1_5 = isCharOnFoot(playerPed)
- if var_1_5 then
- --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
- var_1_5 = getAllObjects()
- var_1_7 = var_1_5
- for var_1_9, var_1_10 in ipairs(var_1_7) do --var_1_6 FORTEST-FORTEST
- --jump to 0824 (if previous if statement is false) --0824 JMP-JMP
- var_1_12 = var_1_10
- var_1_11 = doesObjectExist(var_1_12)
- if var_1_11 then
- --jump to 0824 (if previous if statement is false) --0824 JMP-JMP
- var_1_12 = var_1_10
- var_1_11 = getObjectModel(var_1_12)
- if var_1_11 == 33 then
- --jump to 0824 (if previous if statement is false) --0824 JMP-JMP
- var_1_14 = 0.62 --var_1_14 NUMBER-NUMBER
- var_1_15 = 1.8 --var_1_15 NUMBER-NUMBER
- var_1_16 = 2.55 --var_1_16 NUMBER-NUMBER
- var_1_12, var_1_13, var_1_14 = getOffsetFromCharInWorldCoords(playerPed, var_1_14, var_1_15, var_1_16)
- var_1_16 = var_1_10
- var_1_17 = var_1_12
- var_1_18 = var_1_13
- var_1_19 = var_1_14
- setObjectCoordinates(var_1_16, var_1_17, var_1_18, var_1_19)
- var_1_16 = var_1_10
- setObjectHeading(var_1_16, getCharHeading(playerPed) )
- end
- end
- end
- end
- end
- --location 0824--0824 LOCATION-LOCATION
- end --end of a for loop
- --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
- until false or (previous if statement is true) --location 0827
- return
- end
- function randomFunction drpgcmd ()
- var_2_0 = string.format("{0094c8}���� �������:")
- menukilltext = var_2_0
- var_2_1 = "%s {ffffff}������� ����� � ������({66000" --strings longer than 40 characters get cut off, so check to see if there's more!
- if ragekillzombie then
- --jump to 0014 (if previous if statement is false) --0014 JMP-JMP
- else
- --location 0014--0014 LOCATION-LOCATION_
- end
- var_2_0 = string.format(var_2_1, var_2_2)
- ragekillzombietext = var_2_0
- until false or (previous if statement is true) --location 0019
- var_2_1 = "%s {ffffff}������� ����� � ������� 10�({" --strings longer than 40 characters get cut off, so check to see if there's more!
- if ragekillzombie10m then
- --jump to 0025 (if previous if statement is false) --0025 JMP-JMP
- --jump to 0026 (if previous if statement is false) --0026 JMP-JMP
- var_2_0 = string.format(var_2_1, var_2_2)
- ragekillzombie10mtext = var_2_0
- var_2_1 = "%s {ffffff}����������� ����� � ������({f" --strings longer than 40 characters get cut off, so check to see if there's more!
- if legitkillzombie then
- --jump to 0036 (if previous if statement is false) --0036 JMP-JMP
- --jump to 0037 (if previous if statement is false) --0037 JMP-JMP
- var_2_0 = string.format(var_2_1, var_2_2)
- legitkillzombietext = var_2_0
- var_2_1 = "%s {ffffff}����������� ����� �� �������(" --strings longer than 40 characters get cut off, so check to see if there's more!
- if legitkillzombieaim then
- --jump to 0047 (if previous if statement is false) --0047 JMP-JMP
- until false or (previous if statement is true) --location 0045
- --jump to 0048 (if previous if statement is false) --0048 JMP-JMP
- var_2_0 = string.format(var_2_1, var_2_2)
- legitkillzombieaimtext = var_2_0
- var_2_0 = string.format("{0094c8}������:")
- othertext = var_2_0
- if headshot then
- --jump to 0063 (if previous if statement is false) --0063 JMP-JMP
- --jump to 0064 (if previous if statement is false) --0064 JMP-JMP
- var_2_0 = string.format("%s {ffffff}��������� � ������", var_2_2)
- headshottext = var_2_0
- if tup then
- --jump to 0074 (if previous if statement is false) --0074 JMP-JMP
- --jump to 0075 (if previous if statement is false) --0075 JMP-JMP
- var_2_0 = string.format("%s {ffffff}��� ������", var_2_2)
- tuptext = var_2_0
- if wallhack then
- --jump to 0085 (if previous if statement is false) --0085 JMP-JMP
- --jump to 0086 (if previous if statement is false) --0086 JMP-JMP
- var_2_2 = "{b30000}[OFF]" --"{00b300}[ON]" STRING-STRING
- var_2_0 = string.format("%s {ffffff}Name Tag WallHack", var_2_2)
- wallhacktext = var_2_0
- var_2_1 = "{0094c8}� ����. �����������: {ff6100}���" --strings longer than 40 characters get cut off, so check to see if there's more!
- var_2_0 = string.format(var_2_1)
- updatetext = var_2_0
- var_2_0 = string.format("{0094c8}��������� ����������")
- blasthacktext = var_2_0
- var_2_1 = 27518 --var_2_1 NUMBER-NUMBER
- 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!
- 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)
- var_2_6 = 2 --var_2_6 NUMBER-NUMBER
- sampShowDialog(var_2_1, var_2_2, var_2_3, "{ffff99}*�������*", "{330066}~�������~", var_2_6)
- return
- end
- end end end end end end --REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME
- function randomFunction nameTagOn ()
- var_3_0 = sampGetServerSettingsPtr()
- var_3_2 = var_3_0 + 39 --var_3_2 NUMBER-NUMBER
- var_3_1 = uget_3_0.getfloat(var_3_2)
- NTdist = var_3_1
- var_3_2 = var_3_0 + 47 --var_3_2 NUMBER-NUMBER
- var_3_1 = uget_3_0.getint8(var_3_2)
- NTwalls = var_3_1
- var_3_2 = var_3_0 + 56 --var_3_2 NUMBER-NUMBER
- var_3_1 = uget_3_0.getint8(var_3_2)
- NTshow = var_3_1
- until false or (previous if statement is true) --location 0019
- var_3_2 = var_3_0 + 39 --var_3_2 NUMBER-NUMBER
- var_3_3 = 1488 --var_3_3 NUMBER-NUMBER
- uget_3_0.setfloat(var_3_2, var_3_3)
- var_3_2 = var_3_0 + 47 --var_3_2 NUMBER-NUMBER
- var_3_3 = 0 --var_3_3 NUMBER-NUMBER
- uget_3_0.setint8(var_3_2, var_3_3)
- var_3_2 = var_3_0 + 56 --var_3_2 NUMBER-NUMBER
- var_3_3 = 1 --var_3_3 NUMBER-NUMBER
- uget_3_0.setint8(var_3_2, var_3_3)
- return
- end
- function randomFunction nameTagOff ()
- var_4_0 = sampGetServerSettingsPtr()
- var_4_2 = var_4_0 + 39 --var_4_2 NUMBER-NUMBER
- uget_4_0.setfloat(var_4_2, NTdist)
- var_4_2 = var_4_0 + 47 --var_4_2 NUMBER-NUMBER
- uget_4_0.setint8(var_4_2, NTwalls)
- var_4_2 = var_4_0 + 56 --var_4_2 NUMBER-NUMBER
- uget_4_0.setint8(var_4_2, NTshow)
- return
- end
- function someFunc5()
- script_name("Delirium RPG")
- script_author("kraft1k")
- script_version("v1.0")
- require("lib.moonloader")
- require("sampfuncs")
- var_5_0 = require("samp.events")
- until false or (previous if statement is true) --location 0019
- var_5_1 = require("memory")
- var_5_2 = {} --to find out the contents of this table look inside the lua file
- var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
- ragekillzombie = var_5_3
- var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
- ragekillzombie10m = var_5_3
- var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
- legitkillzombie = var_5_3
- var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
- legitkillzombieaim = var_5_3
- var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
- headshot = var_5_3
- var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
- tup = var_5_3
- var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
- wallhack = var_5_3
- local randomFunction0 = function() end -- starts at test.lua:0
- var_5_0.onSendGiveDamage = randomFunction0
- local randomFunction1 = function() end -- starts at test.lua:0
- main = randomFunction1
- local randomFunction2 = function() end -- starts at test.lua:0
- drpgcmd = randomFunction2
- local randomFunction3 = function() end -- starts at test.lua:0
- nameTagOn = randomFunction3
- until false or (previous if statement is true) --location 0045
- local randomFunction4 = function() end -- starts at test.lua:0
- nameTagOff = randomFunction4
- return
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement