@name HatCreator @persist Ind Count HE:entity Ply:entity #------------------------------# # DGROUSE - 23/12/13 # #------------------------------# if( first() ){ Ply = players()[4,entity] Ind++ holoCreate(Ind) holoPos(Ind, Ply:attachmentPos("eyes")) holoAng(Ind, Ply:attachmentAng("eyes")) holoParentAttachment(Ind, Ply, "eyes") holoAlpha(Ind,0) holoVisible( Ind, Ply, 0 ) HE = holoEntity(Ind) HI = Ind HEA = HE:angles() function part(Pos:vector,Scale:vector,Color:vector,Ang:angle,Model:string){ Ind++ holoCreate(Ind) holoPos(Ind, HE:toWorld(Pos)) holoAng(Ind, HE:toWorld(Ang)) holoModel(Ind,Model) holoScale(Ind,Scale) holoColor(Ind,Color) holoParent(Ind,HI) holoVisible( Ind, Ply, 0 ) } }