Guest User

Untitled

a guest
Oct 25th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. /eval gClassText = { [1] = "Warrior", [2] = "Engineer", [3] = "Esper", [4] = "Medic", [5] = "Stalker", [7] = "Spellslinger" } gPathText = { [0] = "Soldier", [3] = "Explorer", [2] = "Scientist", [1] = "Settler" } gOpti = Apollo.GetAddon("OptiPlates") for idx, tNameplate in pairs(gOpti.arUnit2Nameplate) do local unit = tNameplate.unitOwner local level = unit:GetLevel() local aff = unit:GetAffiliationName() if tNameplate.bIsPlayer and tNameplate.eDisposition == 2 and level >= 45 then local c = aff if not c or c == "" then Print(level.." - "..unit:GetName().." - "..gClassText[unit:GetClassId()].." - "..gPathText[unit:GetPlayerPathType()].."\n") end end end
Add Comment
Please, Sign In to add comment