General > Developers Corner
Prefix help
(1/1)
IizStormViper:
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.
--- Code: ---local function lOnPlayerChat( ply )
if ply:IsUserRank == "storm" then
table.insert( tab, Color( team.GetColor( lTeam ) ) )
table.insert( tab, "[Storm] " )
end
--- End code ---
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
[0] Board index
Go to full version