-- LUA Script - precede every function and global member with lowercase name of script + '_main' function get_pos_init(e) end local function DP2 (val) return math.modf(val * 100) / 100 end function get_pos_main(e) local Ent = g_Entity[e] if Ent ~= nil then PromptLocal(e, "x=" .. DP2(Ent.x) .. ", y=" .. DP2(Ent.y) .. ", z=" .. DP2(Ent.z) .. ", ang=" .. DP2(Ent.angley)) end end