@name Triple Target Test
@persist Player:array Goals:array Flags:array Dump:array
if(ops()>4500){exit()}
Origin=entity():pos()
Model1="models/Roller.mdl"
Model2="ammocrate"
findInSphere(Origin,100000)
findClipFromSphere(Origin,100)
findIncludePlayerProps(entity():owner())
findSortByDistance(Origin)
findIncludeModel(Model1)
findIncludeModel(Model2)
findIncludeClass("player")
Dump=findToArray()
if(findUpdateRate()){
Player=array()
Goals=array()
Flags=array()
for(C=1,Dump:count()){
Dumped=Dump[C,entity]
if(Dumped:isPlayer()){Player:pushEntity(Dumped)}
if(Dumped:model()==Model1){Flags:pushEntity(Dumped)}
if(Dumped:model()==Model2){Goals:pushEntity(Dumped)}
}}
