@name VTOL
@model models/hunter/plates/plate1x2.mdl
@persist [P2H_Mod P2H_Color P2H_Mat P2H_Pos P2H_Ang]:array P2H_Int P2H_Offset P2H_Ready
if(first())
{
    P2H_Int = 0
    P2H_Offset = 0
    runOnTick(1)
    P2H_Mod = array("models/hunter/plates/plate1x2.mdl","models/phxtended/trieq1x1x2solid.mdl","models/phxtended/tri2x1x1.mdl","models/phxtended/trieq1x1x2solid.mdl","models/phxtended/tri2x1x1solid.mdl")
    P2H_Color = array(vec4(255,255,255,255),vec4(255,255,255,255),vec4(255,255,255,255),vec4(255,255,255,255),vec4(255,255,255,255))
    P2H_Mat = array(" "," "," "," "," ")
    P2H_Pos = array(vec(0.1817,1.7765,24.1418),vec(23.6535,-47.2176,-1.5131),vec(23.6538,-47.255,-1.5326),vec(-23.7216,-47.2625,-1.5424),vec(-23.8067,-47.256,45.8749))
    P2H_Ang = array(ang(-0.0645,0.118,-24.9762),ang(-89.9999,-90.0004,0),ang(-89.9999,0.0011,0),ang(0,179.9998,90),ang(0,-89.9984,-90.0003))
}

if(!P2H_Ready)
{
    while(holoCanCreate() & perf() & P2H_Int < P2H_Mod:count())
    {
        P2H_Int++
        local P2H_TempInt = P2H_Int+P2H_Offset
        holoCreate(P2H_TempInt,entity():toWorld(P2H_Pos[P2H_Int,vector]),vec(1),entity():toWorld(P2H_Ang[P2H_Int,angle]))
        holoColor(P2H_TempInt,P2H_Color[P2H_Int,vector4])
        holoModel(P2H_TempInt,P2H_Mod[P2H_Int,string])
        holoMaterial(P2H_TempInt,P2H_Mat[P2H_Int,string])
        holoParent(P2H_TempInt,entity())
    }
    P2H_Ready = P2H_Int >= P2H_Mod:count()
}
