@name Croco's House E2
@persist Money
@model models/hunter/plates/plate5x5.mdl
E = entity()
E:setAlpha(0)

runOnTick(1) 

if(first()){
Money  = 0

#floor
holoCreate(1)
holoModel(1,"hqsquare")
holoScale(1,vec(20,20,0.2))
holoMaterial(1,"models/props_c17/furniturefabric002a")

#ceiling
holoCreate(2)
holoModel(2,"hqsquare")
holoScale(2,vec(20,20,0.2))
holoMaterial(2,"models/props_debris/plasterwall034a")
holoPos(2, entity():pos()+vec(0,0,220))

#Wall1
holoCreate(3)
holoModel(3,"hqsquare")
holoScale(3,vec(0.4,20,20))
holoMaterial(3,"phoenix_storms/metalfloor_2-3")
holoPos(3, entity():pos()+vec(0,118,100))
holoAng(3,ang(0,90,0))

#Wall2
holoCreate(4)
holoModel(4,"hqsquare")
holoScale(4,vec(0.4,20,20))
holoMaterial(4,"phoenix_storms/metalfloor_2-3")
holoPos(4, entity():pos()+vec(0,-118,100))
holoAng(4,ang(0,90,0))

#Wall3
holoCreate(5)
holoModel(5,"hqsquare")
holoScale(5,vec(0.4,20,20))
holoMaterial(5,"phoenix_storms/metalfloor_2-3")
holoPos(5, entity():pos()+vec(118,0,100))
holoAng(5,ang(0,180,0))

#wall4
holoCreate(6)
holoModel(6,"hqsquare")
holoScale(6,vec(0.4,20,20))
holoMaterial(6,"phoenix_storms/metalfloor_2-3")
holoPos(6, entity():pos()+vec(-118,0,100))
holoAng(6,ang(0,180,0))

holoCreate(7)
holoModel(7,"models/props_c17/door01_left.mdl")
holoScale(7,vec(5,1,1))
holoPos(7, entity():pos()+vec(-118,25,55))
holoAng(7,ang(0,180,0))


}

#####################
#####-BUILDINGS-#####
#####################


timer("money",30000)
if(clk("money")){Money = Money + 250}
