i added
dxDrawColorText ("#00BAFF" .. getPlayerName(player) .. " (" .. isAFK .. ")", sx-w, sy - offset, sx, sy - offset, tocolor(r,g,b,textalpha), player ~= g_Me and textscale*NAMETAG_TEXTSIZE or (textscale*NAMETAG_TEXTSIZE)/1.5, srfont, "center", "bottom", false, false, false )
but i got this error:
attempt to concatenate global 'isAFK' a function value