22.07.2017, 09:49
You can use streamer set functions.
type would be
id would be object id and data would be E_STREAMER_WORLD_ID
also for loop length you can sue CountDynamicObjects function.
hope that helped : p.
PHP код:
native Streamer_SetFloatData(type, STREAMER_ALL_TAGS id, data, Float:value);
native Streamer_SetIntData(type, STREAMER_ALL_TAGS id, data, value);
native Streamer_SetArrayData(type, STREAMER_ALL_TAGS id, data, const src[], maxsrc = sizeof src);
PHP код:
#define STREAMER_TYPE_OBJECT (0)
also for loop length you can sue CountDynamicObjects function.
hope that helped : p.