Skip to content

Calling native functions on Linux with crashdetect #21

Description

@oscar-broman

I compiled Zeex/samp-plugin-crashdetect@54614d5f5ebef8babef8c3717fd8b4b66b31524f and tried to run the following code.

Works perfectly without crashdetect loaded; when it's loaded, however, execution seems to halt when attempting to call the native.

#include <a_samp>
#include <amx/dynamic_call>

main() {
    print("test");

    new addr = GetNativeAddressFromName("print");

    CallNativeByAddress(addr, ref("hello"));
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions