Skip to content

[Request] Call function just like in Hamsandwich (ExecuteHam/ExecuteHamB). #9

@lespaul64

Description

@lespaul64

I see this module is awesome with useful functions, but where is the function that similar too ExecuteHam/ExecuteHamB?

In Hamsandwich module:

/**
 * Executes the virtual function on the entity.
 * Look at the Ham enum for parameter lists.
 *
 * @param function      The function to call.
 * @param id            The id of the entity to execute it on.
 */
native ExecuteHam(Ham:function, this, any:...);

/**
 * Executes the virtual function on the entity, this will trigger all hooks on that function.
 * Be very careful about recursion!
 * Look at the Ham enum for parameter lists.
 *
 * @param function      The function to call.
 * @param id            The id of the entity to execute it on.
 */
native ExecuteHamB(Ham:function, this, any:...);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions