We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: