Now, I tried to use bmap_for_entity. The Result was not as I expectet. By modifying the returned bmap, the skins of all entities of the same kind change.

Code:
BMAP* test;
test = bmap_for_entity(my,0);
bmap_fill(test,vector(random(255),random(255),random(255)),100);


When i add
Code:
test = bmap_createblack(16,16,32);

above bmap_fill(), all entities are black. Without that line, all entities have the same random color.

How can I set up an own skin for each entity?