@name 1block
@persist A Q [Props Color Pos Ang Mat Model]:array 

runOnTick(1) 
runOnChat(1) 
propSpawnEffect(0) 
O=owner() 
S=O:lastSaid():lower():explode(" ") 
Id1=S[1,string] Id2=S[2,string] 
E=entity() 

timer("spawn",250) 
if(Q<Props:count()){Q++}else{Q=0} 
if(!Props[Q,entity]){Props[Q,entity]=propSpawn(Model[Q,string],Pos[Q,vector],Ang[Q,angle],1) Props[Q,entity]:setColor(Color[Q,vector]) Props[Q,entity]:setMaterial(Mat[Q,string])} 
if(!Props[Q,entity]:isFrozen()){Props[Q,entity]:propFreeze(1) Props[Q,entity]:setPos(Pos[Q,vector])} 
if(changed(Props[Q,entity]:pos())&Props[Q,entity]:getColor()!=vec(255,0,0)){Props[Q,entity]:setPos(Pos[Q,vector])} 
if(changed(Props[Q,entity]:angles())){Props[Q,entity]:setAng(Ang[Q,angle])} 

if(clk("spawn")){ A+=1 
if(A==1){Prop=propSpawn("models/hunter/plates/plate1x1.mdl",E:toWorld(vec(2.737,0.537,14.067)),E:toWorld(ang(0,-0.987,0)),1)
Prop:setMaterial("") 
Prop:setColor(vec(255,255,255)) 
Prop:setAlpha(255) 
Prop:setSkin(0) 
Props:pushEntity(Prop) Model:pushString(Prop:model()) Color:pushVector(Prop:getColor()) Pos:pushVector(Prop:pos()) Ang:pushAngle(Prop:angles()) Mat:pushString(Prop:getMaterial())} 
}
