Hi, i'm using this stock to create a player attachment:
Code:
stock Create_TE_PLAYERATTACHMENT(id, entity, vOffset, iSprite, life){
message_begin( MSG_ONE, SVC_TEMPENTITY, { 0, 0, 0 }, id )
write_byte( TE_PLAYERATTACHMENT )
write_byte( entity ) // entity
write_coord( vOffset ) // vertical offset ( attachment origin.z = player origin.z + vertical offset )
write_short( iSprite ) // model index
write_short( life ) // (life * 10 )
message_end()
}
But no matter what sprite i use it will have a black background. I tried to recreate the sprite from .bmps with additive transparency(256colors) but the situation is still the same, i just can't get rid of that background. I'm I missing some additional options like render mode?