call

used to call in game C Function

Memory.Scan("GPRET", "E8 ? ? ? ? E9 ? ? ? ? 48 83 C4 ? 5B 5D 5F 5E 41 5E 41 5F C3 8E C3", 1, function(ptr)
      CGivePickupRewardsEvent = ptr
      log.info(string.format("address of global: 0x%X", CGivePickupRewardsEvent.Raw))

  end)


if ImGui.Button("Get Armor") then
   CGivePickupRewardsEvent.Call(1 << network.get_selected_player(), util.joaat("REWARD_ARMOUR"))
end

Last updated