Jump to content
  • 0

Compare numbers


Crewyyy

Question

1 answer to this question

Recommended Posts

4 hours ago, Crewyyy said:

Hi I need help.

How I Can check That this offset is bigger than another 0x4A7C24

I need to check and if my offset bigger This offset I write offset in script

function compareOffsets (compareTo, checkedOffset)
    if checkedOffset > compareTo then
        return true
        else
        return false
    end
end

local shouldAdd = compareOffsets (0x4A7C24, 0x4A7C28)
print (shouldAdd)

local shouldAdd = compareOffsets (0x4A7C24, 0x4A7C20)
print (shouldAdd)

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.