if(ents[i].object_classname.find("VEHICLECLASSNAME") != string::npos) {
if(!first) marker_str << ","; else first = false;
marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z)
<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "VEHICLETYPE" << "\",n:\""
<< "VEHICLENAME" << "\",b:\"" << "VEHICLEIMAGE" << "\"}";
}
if(ents[i].object_classname.find("UH1Y") != string::npos) {
if(!first) marker_str << ","; else first = false;
marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z)
<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "helicopter" << "\",n:\""
<< "UH-1Y" << "\",b:\"" << "uaz_cdf" << "\"}";
}