• Error with networkedint
    0 replies, posted
[code]line 29: for k,v in pairs(player.GetAll()) do if( v:GetNWInt("XP") > v:GetNWInt("LEVELUP") ) then line 30: v:SetNWInt("LEVEL", v:GetNWInt("LEVEL") + 1) v:EmitSound("vo/npc/vortigaunt/affirmed.wav") end end [/code]This returns [zombiesurvival\gamemode\stats.lua:29] attempt to compare number with string, Even if i use tonumber().
Sorry, you need to Log In to post a reply to this thread.