Custom Scoreboard help

Im making a custom scoreboard for my gamemode and im adding a tab called Title there it should stand Guest/VIP/Admin/Owner and im using a function called GamewebTitle(ply) to check what Titile the user has the only problem is that the function is server side how can i make a global var for all player that all clients can access? ex ply.Title

Simple. Do this:



//SERVER--
for k,v in pairs(player.GetAll())
v:SetNWString("Title",GamewebTitle(v))
end
//CLIENT--
function GamewebTitle(ply)
return v:GetNWString("Title",GamewebTitle(v))
end

lol you forgot the


, but i don't really know how to solve this problem, so i will agree with map.

thank you will try