Unable to Convert from 'TMesh' to 'Int'

BlitzMax Modules Forums/MiniB3D/Unable to Convert from 'TMesh' to 'Int'

have you tried it this way?
p.currentWeapon.model.CopyEntity()


but as said before, extending internal types isn't a good idea. It is better to create a wrapper type:

Type TBullet
Field mesh:TMesh
Field ...
'bullet properties