Fr3eMan 16 Posted February 12, 2019 I'm trying to spawn a vehicle and when the player move nearest by trigger draw the vehicle displayed dame over it, I'm using the follow code but when spawn the icon over it appear like "unknown", I miss something.... _draw = addMissionEventHandler ["Draw3D",{ drawIcon3D ["", [1,0.05,0.05,1], [getpos obj1 select 0, getpos obj1 select 1,4], 0, 0, 0, gettext (configFile >> "CfgVehicles" >> "AllVehicles" >> "displayName"), 0,0.09]; } ]; Share this post Link to post Share on other sites
HazJ 1289 Posted February 12, 2019 typeOf obj1 getText (configFile >> "CfgVehicles" >> typeOf obj1 >> "displayName") 1 Share this post Link to post Share on other sites
Fr3eMan 16 Posted February 12, 2019 Work fine, thanks! 2 hours ago, HazJ said: typeOf obj1 getText (configFile >> "CfgVehicles" >> typeOf obj1 >> "displayName") Share this post Link to post Share on other sites