local strings not being overwritten?

[lua] local string1 = “test”
local string2 = “test”
local string3 = “test”
local string4 = “test”
local string5 = “test”
local string6 = “test”

if acc == 100 then
string6 = "Rifle"
end
if dam == 100 then
string4 = "Slug "
end
if dly == 100 then
string1 = "Automatic "
end
if rec == 100 then
string2 = "Suppressed "
end
if scp == 100 then
string5 = "Sniper "
end
if mac == 100 then
string3 = "Stabilized "
end



surface.SetDrawColor( 0, 255, 0, 80 )
local barx = ScrW() - 110
local bary = ScrH() - 120

draw.DrawText( string1..string2..string3..string4..string5..string6, "DefaultFixed", barx, bary-20, Color(0,255,0,255), 2 )

[/lua]

This is all a part of my DrawHud function on my swep, and for some reason I can’t overwrite the contents of the string1, string2 etc. variables.

Any ideas?

All of those variables( acc, dam, rec ) are probably nil.

No.
Apparently they were strings.
Which is odd, but I just used tonumber() and everything is ok.

Stupid NetworkedVars