Skip to content

The problem with Streamer_OnItemStreamIn/Out #487

@Radunhadeidou

Description

@Radunhadeidou

I create an object and then enable callbacks for it.

new obj = CreateDynamicObject(11738, 327.5363, -879.6469, 5.1495, 0.0, 0.0, 0.0, -1, -1, -1, 100.0); Streamer_ToggleItemCallbacks(STREAMER_TYPE_OBJECT, obj, true);

public Streamer_OnItemStreamIn(type, STREAMER_ALL_TAGS:id, forplayerid) { printf("Streamer_OnItemStreamIn: type: %d | id: %d | forplayerid: %d", type, _:id, forplayerid); }

When the callback is triggered, the id is always 0 for all objects, while the type and forplayerid are correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions