-- LUA Script - precede every function and global member wit h lowercase name of script + '_main' local turret_radar_assigned = {} local sin = math.sin local cos = math.cos function turret_radar_init(e) Scale(e, 700) --Scale(550) end function turret_radar_main(e) local tb = turret_radar_assigned[e] if tb == nil then turret_radar_assigned[e] = BaseAddRadar(e) return end local Ent = g_Entity[e] -- PromptLocal(e, Ent.x - tb.x .. "," .. Ent.y - tb.y .. "," .. Ent.z - tb.z) end