Помогите пожалуйста, в чем ошибка.

GoshaOtdaySotky

Новичок
Автор темы
12
0
Помогите, не шарю. Просто увидел софт, посмотреть и перезалить. Вылазит ошибка - expected near 'msg'
Помогите пожалуйста. Не понимаю в чем ошибка.



Lua:
function randomFunction    msg (INPUT_VAR_0_)

    var_0_3 = INPUT_VAR_0_

    var_0_2 =  "[{F08080}onfoot_Hokage{FFFFFF}]: " .. var_0_3

    var_0_3 = -1 --var_0_3 NUMBER-NUMBER

    return sampAddChatMessage(var_0_2, var_0_3)

end





function randomFunction    main ()

    if uget_1_0 then

        --jump to 0005 (if previous if statement is false) --0005 JMP-JMP

        return

    end

    var_1_0, var_1_1, var_1_2, var_1_3 = getTargetBlipCoordinatesFixed()

    blipZ = var_1_3

    blipY = var_1_2

    blipX = var_1_1

    blip = var_1_0

    if blip then

        --jump to 0054 (if previous if statement is false) --0054 JMP-JMP

        var_1_0 = os.clock()

        var_1_0 = var_1_1

        USETP unhandled at 0018

        var_1_0, var_1_1, var_1_2 = getCharCoordinates(playerPed)

        charPosZ = var_1_2

        charPosY = var_1_1

        charPosX = var_1_0

        var_1_0 = getDistanceBetweenCoords3d(blipX, blipY, charPosZ, charPosX, charPosY, charPosZ)

        var_1_1 = 7 --var_1_1 NUMBER-NUMBER

        if var_1_0 < var_1_1 then

            --jump to 0042 (if previous if statement is false) --0042 JMP-JMP

            return setCharCoordinates(playerPed, blipX, blipY, blipZ)

        end

        USETP unhandled at 0042

        var_1_3 = true --var_1_3 PRIMITIVE-PRIMITIVE

        freezeCharPosition(playerPed, var_1_3)

        var_1_5 = blipZ -  0.6 --var_1_5 NUMBER-NUMBER

        setCharCoordinates(playerPed, blipX, blipY, var_1_5)

    end

    return

end





function someFunc2()

    if sasakrack ~= nil then

        --jump to 0007 (if previous if statement is false) --0007 JMP-JMP

        if sasakrack == false then

        end -- maybe?

    else

        --location 0007--0007 LOCATION-LOCATION_

    end

    local randomFunction0 = function() end -- starts at  test.lua:0

    lua_thread.create(randomFunction0)

    return

    return

end





function randomFunction()

    if uget_3_0 then

        --jump to 0005 (if previous if statement is false) --0005 JMP-JMP

        return

    end

    var_3_0, var_3_0, var_3_0, var_3_0 = SearchMarker( getCharCoordinates(PLAYER_PED) )

    blipZ = var_3_0

    blipY = var_3_0

    blipX = var_3_0

    blip = var_3_0

    if blip then

        --jump to 0056 (if previous if statement is false) --0056 JMP-JMP

        var_3_0 = os.clock()

        var_3_0 = var_3_1

        var_3_0, var_3_1, var_3_2 = getCharCoordinates(playerPed)

        charPosZ = var_3_2

        charPosY = var_3_1

        charPosX = var_3_0

        var_3_0 = getDistanceBetweenCoords3d(blipX, blipY, charPosZ, charPosX, charPosY, charPosZ)

        var_3_1 = 7 --var_3_1 NUMBER-NUMBER

        if var_3_0 < var_3_1 then

            --jump to 0044 (if previous if statement is false) --0044 JMP-JMP

            return setCharCoordinates(playerPed, blipX, blipY, blipZ)

        end

        USETP unhandled at 0044

        var_3_3 = true --var_3_3 PRIMITIVE-PRIMITIVE

        freezeCharPosition(playerPed, var_3_3)

        var_3_5 = blipZ -  0.6 --var_3_5 NUMBER-NUMBER

        setCharCoordinates(playerPed, blipX, blipY, var_3_5)

    end

    return

end





function someFunc4()

    if sasakrack ~= nil then

        --jump to 0007 (if previous if statement is false) --0007 JMP-JMP

        if sasakrack == false then

        end -- maybe?

    else

        --location 0007--0007 LOCATION-LOCATION_

    end

    local randomFunction1 = function() end -- starts at  test.lua:0

    lua_thread.create(randomFunction1)

    return

    return

end





function someFunc5(INPUT_VAR_0_,INPUT_VAR_1_,INPUT_VAR_2_,INPUT_VAR_3_)

    var_5_0 = isSampAvailable()

    if not var_5_0 then

        --jump to 0010 (if previous if statement is false) --0010 JMP-JMP

        repeat

        var_5_1 = 0 --var_5_1 NUMBER-NUMBER

        wait(var_5_1)

    else

        --location 0010--0010 LOCATION-LOCATION_

        until false or (previous if statement is true) --location 0010

        var_5_1 = 0 --var_5_1 NUMBER-NUMBER

        wait(var_5_1)

        var_5_0 = true --var_5_0 PRIMITIVE-PRIMITIVE

        sasakrack = var_5_0

        if sasakrack == nil then

            --jump to 0023 (if previous if statement is false) --0023 JMP-JMP

            repeat

            var_5_1 = 0 --var_5_1 NUMBER-NUMBER

            wait(var_5_1)

        else

            --location 0023--0023 LOCATION-LOCATION_

            until false or (previous if statement is true) --location 0023

            if sasakrack == false then

                --jump to 0031 (if previous if statement is false) --0031 JMP-JMP

                var_5_0 = thisScript()

                var_5_1 = var_5_0

            end

            local randomFunction2 = function() end -- starts at  test.lua:0

            sampRegisterChatCommand("stp", randomFunction2)

            local randomFunction3 = function() end -- starts at  test.lua:0

            sampRegisterChatCommand("stpc", randomFunction3)

            repeat

            var_5_1 = 0 --var_5_1 NUMBER-NUMBER

            wait(var_5_1)

            var_5_0 = os.clock()

            var_5_0 = var_5_0 - uget_5_3 --var_5_0 NUMBER-NUMBER

            var_5_1 = 2400 --var_5_1 NUMBER-NUMBER

            if var_5_1 < var_5_0 then

                --jump to 0061 (if previous if statement is false) --0061 JMP-JMP

                if uget_5_2 then

                    --jump to 0061 (if previous if statement is false) --0061 JMP-JMP

                    var_5_0 = 0 --var_5_0 NUMBER-NUMBER

                    var_5_0 =  0

                    var_5_0 = INPUT_VAR_3_

                    USETP unhandled at 0057

                    sampForceOnfootSync()

                    USETP unhandled at 0060

                end

            end

            if uget_5_0 then

                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP

                if sasakrack ~= nil then

                    --jump to 0070 (if previous if statement is false) --0070 JMP-JMP

                    if sasakrack == false then

                    end -- maybe?

                else

                    --location 0070--0070 LOCATION-LOCATION_

                    return

                end

                var_5_0 = getDistanceBetweenCoords3d(blipX, blipY, blipZ, charPosX, charPosY, charPosZ)

                var_5_1 = 7 --var_5_1 NUMBER-NUMBER

                if var_5_1 < var_5_0 then

                    --jump to 0151 (if previous if statement is false) --0151 JMP-JMP

                    var_5_0 = getDistanceBetweenCoords3d(blipX, blipY, charPosZ, charPosX, charPosY, charPosZ)

                    var_5_2 = 2 --var_5_2 NUMBER-NUMBER

                    wait(var_5_2)

                    var_5_1 = blipX - charPosX --var_5_1 NUMBER-NUMBER

                    vectorX = var_5_1

                    var_5_1 = blipY - charPosY --var_5_1 NUMBER-NUMBER

                    vectorY = var_5_1

                    var_5_1 = blipZ - charPosZ --var_5_1 NUMBER-NUMBER

                    vectorZ = var_5_1

                    var_5_1 = uget_5_5(vectorX, vectorY, vectorZ)

                    var_5_3 = var_5_1

                    var_5_1.normalize(var_5_3)

                    var_5_3 = var_5_1.x *  7 --var_5_3 NUMBER-NUMBER

                    var_5_2 = charPosX + var_5_3 --var_5_2 NUMBER-NUMBER

                    charPosX = var_5_2

                    var_5_3 = var_5_1.y *  7 --var_5_3 NUMBER-NUMBER

                    var_5_2 = charPosY + var_5_3 --var_5_2 NUMBER-NUMBER

                    charPosY = var_5_2

                    var_5_3 = var_5_1.z *  2 --var_5_3 NUMBER-NUMBER

                    var_5_2 = charPosZ + var_5_3 --var_5_2 NUMBER-NUMBER

                    charPosZ = var_5_2

                    var_5_3 = 6 --var_5_3 NUMBER-NUMBER

                    wait(var_5_3)

                    sendOnfootSync(charPosX, charPosY, charPosZ)

                    var_5_2 = uget_5_4 +  1 --var_5_2 NUMBER-NUMBER

                    var_5_2 = charPosY

                    if uget_5_4 == 4 then

                        --jump to 0039 (if previous if statement is false) --0039 JMP-JMP

                        var_5_4 = charPosY +  55 --var_5_4 NUMBER-NUMBER

                        sendOnfootSync(charPosX, var_5_4, charPosZ)

                        var_5_0 =  0

                    end

                else

                    --location 0151--0151 LOCATION-LOCATION_

                    var_5_0 =  0

                    USETP unhandled at 0152

                    var_5_2 = os.clock()

                    var_5_2 = var_5_2 - uget_5_1 --var_5_2 NUMBER-NUMBER

                    var_5_1 =  "{FBFF00} “пхнуло за: {FFFFFF} " .. var_5_2

                    var_5_2 = -1 --var_5_2 NUMBER-NUMBER

                    msg(var_5_1, var_5_2)

                    var_5_2 = 4000 --var_5_2 NUMBER-NUMBER

                    printStringNow("~y~onfoot ~w~teleported", var_5_2)

                    sendOnfootSync(charPosX, charPosY, charPosZ)

                    setCharCoordinates(playerPed, blipX, blipY, blipZ)

                    sendOnfootSync(charPosX, charPosY, charPosZ)

                    sampForceAimSync()

                    sampForceOnfootSync()

                    var_5_1 = 900 --var_5_1 NUMBER-NUMBER

                    wait(var_5_1)

                    setCharCoordinates(playerPed, blipX, blipY, blipZ)

                    var_5_2 = false --var_5_2 PRIMITIVE-PRIMITIVE

                    freezeCharPosition(playerPed, var_5_2)

                    USETP unhandled at 0200

                    var_5_0 = thisScript()

                    var_5_1 = var_5_0

                    var_5_0.reload(var_5_1)

                    --jump to 0039 (if previous if statement is false) --0039 JMP-JMP

                    until false or (previous if statement is true) --location 0207

                    var_5_1 = -1 --var_5_1 NUMBER-NUMBER

                    wait(var_5_1)

                    return

                    return wait(var_5_1)

                end







function randomFunction    var_15_0.onSetPlayerPos ()

    if uget_6_0 then

        --jump to 0010 (if previous if statement is false) --0010 JMP-JMP

        var_6_1 = os.clock()

        var_6_1 = var_6_1

        var_6_1 = false --var_6_1 PRIMITIVE-PRIMITIVE

        return var_6_1

    end

    until false or (previous if statement is true) --location 0010

    return

end





function randomFunction    var_15_0.onSendPlayerSync ()

    if uget_7_0 then

        --jump to 0006 (if previous if statement is false) --0006 JMP-JMP

        var_7_1 = false --var_7_1 PRIMITIVE-PRIMITIVE

        return var_7_1

    end

    return

end





function randomFunction    sendOnfootSync (INPUT_VAR_0_,INPUT_VAR_1_,INPUT_VAR_2_)

    var_8_3 = samp_create_sync_data("player")

    var_8_4 = {}

    var_8_4[1] = INPUT_VAR_0_

    var_8_4[2] = INPUT_VAR_1_

    var_8_4[3] = INPUT_VAR_2_

    var_8_3.position = var_8_4

    var_8_4 = {} --to find out the contents of this table look inside the lua file

    until false or (previous if statement is true) --location 0010

    var_8_3.moveSpeed = var_8_4

    var_8_3.send()

    return

end





function randomFunction    getTargetBlipCoordinatesFixed ()

    var_9_0, var_9_1, var_9_2, var_9_3 = getTargetBlipCoordinates()

    if not var_9_0 then

        --jump to 0007 (if previous if statement is false) --0007 JMP-JMP

        var_9_4 = false --var_9_4 PRIMITIVE-PRIMITIVE

        return var_9_4

    end

    var_9_5 = var_9_1

    var_9_6 = var_9_2

    until false or (previous if statement is true) --location 0010

    requestCollision(var_9_5, var_9_6)

    var_9_5 = var_9_1

    var_9_6 = var_9_2

    var_9_7 = var_9_3

    loadScene(var_9_5, var_9_6, var_9_7)

    var_9_4, var_9_5, var_9_6, var_9_7 = getTargetBlipCoordinates()

    var_9_8 = var_9_4

    var_9_9 = var_9_5

    var_9_10 = var_9_6

    var_9_11 = var_9_7

    return var_9_8, var_9_9, var_9_10, var_9_11

end





function randomFunction    samp_create_sync_data ()

    var_10_0 = raknetNewBitStream()

    var_10_2 = var_10_0

    raknetBitStreamWriteInt8(var_10_2, uget_10_0.unknownB0)

    var_10_2 = var_10_0

    until false or (previous if statement is true) --location 0010

    raknetBitStreamWriteBuffer(var_10_2, uget_10_1,  uget_10_2.sizeof(uget_10_3) )

    var_10_2 = var_10_0

    var_10_5 = 1 --var_10_5 NUMBER-NUMBER

    until false or (previous if statement is true) --location 0023

    raknetSendBitStreamEx(var_10_2, uget_10_4.HIGH_PRIORITY, uget_10_4.UNRELIABLE_SEQUENCED, var_10_5)

    var_10_2 = var_10_0

    raknetDeleteBitStream(var_10_2)

    return

end





function randomFunction                    var_13_11.__index ()

    return unknown1

end





function randomFunction                    var_13_11.__newindex (INPUT_VAR_0_,INPUT_VAR_1_)

    uget_12_0[INPUT_VAR_1_] = INPUT_VAR_2_

    return

end





function someFunc13(INPUT_VAR_0_,INPUT_VAR_1_)

    var_13_2 = require("ffi")

    var_13_3 = require("sampfuncs")

    var_13_4 = require("samp.raknet")

    until false or (previous if statement is true) --location 0010

    if not INPUT_VAR_1_ then

        --jump to 0013 (if previous if statement is false) --0013 JMP-JMP

        var_13_1 = true --var_13_1 PRIMITIVE-PRIMITIVE

        var_13_5 = {} --to find out the contents of this table look inside the lua file

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        var_13_6[2] = var_13_4.PACKET.PLAYER_SYNC

        var_13_6[3] = sampStorePlayerOnfootData

        var_13_5.player = var_13_6

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        until false or (previous if statement is true) --location 0023

        var_13_6[2] = var_13_4.PACKET.VEHICLE_SYNC

        var_13_6[3] = sampStorePlayerIncarData

        var_13_5.vehicle = var_13_6

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        var_13_6[2] = var_13_4.PACKET.PASSENGER_SYNC

        var_13_6[3] = sampStorePlayerPassengerData

        var_13_5.passenger = var_13_6

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        var_13_6[2] = var_13_4.PACKET.AIM_SYNC

        var_13_6[3] = sampStorePlayerAimData

        var_13_5.aim = var_13_6

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        var_13_6[2] = var_13_4.PACKET.TRAILER_SYNC

        var_13_6[3] = sampStorePlayerTrailerData

        var_13_5.trailer = var_13_6

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        var_13_6[2] = var_13_4.PACKET.UNOCCUPIED_SYNC

        var_13_5.unoccupied = var_13_6

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        var_13_6[2] = var_13_4.PACKET.BULLET_SYNC

        var_13_5.bullet = var_13_6

        var_13_6 = {} --to find out the contents of this table look inside the lua file

        var_13_6[2] = var_13_4.PACKET.SPECTATOR_SYNC

        var_13_5.spectator = var_13_6

        var_13_7 =  "struct " .. unknown2.unknownB3

        var_13_9 = var_13_7

        var_13_10 = {}

        var_13_8 = var_13_2.new(var_13_9, var_13_10)

        var_13_13 = var_13_7

        var_13_13 = var_13_13 .. "*"

        var_13_14 = var_13_8

        var_13_9 = tonumber( var_13_2.cast("uintptr_t",  var_13_2.new(var_13_13, var_13_14) ) )

        if var_13_1 then

            --jump to 0105 (if previous if statement is false) --0105 JMP-JMP

            if unknown2.unknownB4 then

                --jump to 0105 (if previous if statement is false) --0105 JMP-JMP

                var_13_11 = nil

                var_13_12 = nil

                if var_13_1 == true then

                    --jump to 0097 (if previous if statement is false) --0097 JMP-JMP

                    var_13_13, var_13_14 = sampGetPlayerIdByCharHandle(PLAYER_PED)

                    var_13_12 = var_13_14

                    var_13_11 = var_13_13

                    --jump to 0101 (if previous if statement is false) --0101 JMP-JMP

                    var_13_14 = var_13_1

                    var_13_13 = tonumber(var_13_14)

                    var_13_12 = var_13_13

                    var_13_13 = unknown2.unknownB4

                    var_13_14 = var_13_12

                    var_13_15 = var_13_9

                    var_13_13(var_13_14, var_13_15)

                    local randomFunction4 = function() end -- starts at  test.lua:0

                    var_13_11 = {} --to find out the contents of this table look inside the lua file

                    local randomFunction5 = function() end -- starts at  test.lua:0

                    var_13_11.__index = randomFunction5

                    local randomFunction6 = function() end -- starts at  test.lua:0

                    var_13_11.__newindex = randomFunction6

                    var_13_13 = {} --to find out the contents of this table look inside the lua file

                    var_13_13.send = randomFunction4

                    var_13_14 = var_13_11

                    return setmetatable(var_13_13, var_13_14)

                end

            end end end end --REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME



function randomFunction    SearchMarker ()

    var_14_3 = 0 --var_14_3 NUMBER-NUMBER

    var_14_4 = 0 --var_14_4 NUMBER-NUMBER

    var_14_5 = 0 --var_14_5 NUMBER-NUMBER

    var_14_6 = false --var_14_6 PRIMITIVE-PRIMITIVE

    var_14_7 = 0 --var_14_7 NUMBER-NUMBER

    var_14_8 = 31 --var_14_8 NUMBER-NUMBER

    var_14_9 = 1 --var_14_9 NUMBER-NUMBER

    for var_14_10 = var_14_7,var_14_8,var_14_9 do --location 0008, loop ends at 0044-1

        var_14_11 = 0 --var_14_11 NUMBER-NUMBER

        until false or (previous if statement is true) --location 0010

        var_14_12 = var_14_10 *  56 --var_14_12 NUMBER-NUMBER

        var_14_11 =  13103464 + var_14_12 --var_14_11 NUMBER-NUMBER

        var_14_14 = var_14_11 +  0 --var_14_14 NUMBER-NUMBER

        var_14_15 = 4 --var_14_15 NUMBER-NUMBER

        var_14_16 = false --var_14_16 PRIMITIVE-PRIMITIVE

        var_14_12 = representIntAsFloat( readMemory(var_14_14, var_14_15, var_14_16) )

        var_14_15 = var_14_11 +  4 --var_14_15 NUMBER-NUMBER

        var_14_16 = 4 --var_14_16 NUMBER-NUMBER

        until false or (previous if statement is true) --location 0023

        var_14_17 = false --var_14_17 PRIMITIVE-PRIMITIVE

        var_14_13 = representIntAsFloat( readMemory(var_14_15, var_14_16, var_14_17) )

        var_14_16 = var_14_11 +  8 --var_14_16 NUMBER-NUMBER

        var_14_17 = 4 --var_14_17 NUMBER-NUMBER

        var_14_18 = false --var_14_18 PRIMITIVE-PRIMITIVE

        var_14_14 = representIntAsFloat( readMemory(var_14_16, var_14_17, var_14_18) )

        if var_14_12 == 2 then

            --jump to 0039 (if previous if statement is false) --0039 JMP-JMP

            if var_14_13 == 2 then

                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP

                if var_14_14 ~= 2 then

                    --jump to 0043 (if previous if statement is false) --0043 JMP-JMP

                    var_14_3 = var_14_12

                    var_14_4 = var_14_13

                    var_14_5 = var_14_14

                    var_14_6 = true --var_14_6 PRIMITIVE-PRIMITIVE

                end --location 0043, loops back to 0009-1

                var_14_7 = var_14_6

                var_14_8 = var_14_3

                var_14_9 = var_14_4

                var_14_10 = var_14_5

                return var_14_7, var_14_8, var_14_9, var_14_10

            end

        end end end --REVERSE ME--REVERSE ME--REVERSE ME



function someFunc15()

    var_15_0 = require("lib.samp.events")

    var_15_1 = require("lib.samp.events")

    var_15_2 = require("vector3d")

    until false or (previous if statement is true) --location 0010

    var_15_3 = false --var_15_3 PRIMITIVE-PRIMITIVE

    var_15_4 = false --var_15_4 PRIMITIVE-PRIMITIVE

    var_15_5 = 0 --var_15_5 NUMBER-NUMBER

    var_15_6 = 0 --var_15_6 NUMBER-NUMBER

    var_15_7 = nil --var_15_7 PRIMITIVE-PRIMITIVE

    script_version("1.6")

    local randomFunction7 = function() end -- starts at  test.lua:0

    msg = randomFunction7

    var_15_8 = require("requests")

    until false or (previous if statement is true) --location 0023

    requests = var_15_8

    local randomFunction8 = function() end -- starts at  test.lua:0

    main = randomFunction8

    local randomFunction9 = function() end -- starts at  test.lua:0

    var_15_0.onSetPlayerPos = randomFunction9

    local randomFunction10 = function() end -- starts at  test.lua:0

    var_15_0.onSendPlayerSync = randomFunction10

    local randomFunction11 = function() end -- starts at  test.lua:0

    sendOnfootSync = randomFunction11

    local randomFunction12 = function() end -- starts at  test.lua:0

    getTargetBlipCoordinatesFixed = randomFunction12

    local randomFunction13 = function() end -- starts at  test.lua:0

    samp_create_sync_data = randomFunction13

    local randomFunction14 = function() end -- starts at  test.lua:0

    SearchMarker = randomFunction14

    return

end
 
Последнее редактирование модератором: