Hey So I'm setting up ULX to add tags in front of names, but I'm new to lua, this is what I have I thought it would work but it doesn't, Unless I am putting it in the wrong.lua? Mostly I'm probably wrong about it :I. Please help though.
local function lOnPlayerChat( ply )
if ply:IsUserRank == "storm" then
table.insert( tab, Color( team.GetColor( lTeam ) ) )
table.insert( tab, "[Storm] " )
end