I changet A_RailAttack an i get this:
A_RailAttack(damage,offset,useammo,color1(r),color1(g),color1(b),color2(r),color2(g),color2(b),flash,tolerance)
And added :
A_MonsterRailAttack(damage,color1(r),color1(g),color1(b),color2(r),color2(g),color2(b),flash,tolerance)
you can download it here: http://www.zdoom.ic.cz/download/kgzdoom.rar

