24.11.2014, 14:28
That's how i'm creating dynamic mapicons.
mapicon = CreateDynamicMapIcon(x, y, z, 16, 0, -1, -1, 0, 100000.0);
Streamer_SetIntData(STREAMER_TYPE_MAP_ICON, mapicon, E_STREAMER_STYLE, 1);
Streamer_AppendArrayData(STREAMER_TYPE_MAP_ICON, mapicon, E_STREAMER_PLAYER_ID, playerid);
mapicon = CreateDynamicMapIcon(x, y, z, 16, 0, -1, -1, 0, 100000.0);
Streamer_SetIntData(STREAMER_TYPE_MAP_ICON, mapicon, E_STREAMER_STYLE, 1);
Streamer_AppendArrayData(STREAMER_TYPE_MAP_ICON, mapicon, E_STREAMER_PLAYER_ID, playerid);