Hey there, I’ve been trying to make a script that would send the player’s color length to the server using concommands, but it doesn’t seem to work.
Here’s the code:
function ccStealth( )
if not ValidEntity(LocalPlayer()) then
timer.Create(“Check My Illumination”, 0.5, 0, ccStealth)
concommand.Add(“report_visibility”, function(ply, cmd, args)
ply.Illumination = tonumber(args)
There are no errors, nothing. It doesn’t seem to report it to the server. Are there any other ways or am I doing it wrong?
Oh, and the clientside file is sent to the clients aswell. Do I need to include it?