Storing a per-player setting client-side

Discussions about Coding and Scripting
Post Reply
ShaiHulud
Adept
Posts: 459
Joined: Sat Dec 22, 2012 6:37 am

Storing a per-player setting client-side

Post by ShaiHulud »

What - if any - is the conventional way of storing a configuration setting on the client side?

Imagine that a server runs a custom HUD. And that the option exists to change elements of its appearance on screen. Suppose you want to allow individual players to be able to choose the appearance that most appeals to them via a mutate command - maybe something like "mutate HUD setting 1".

How would you propagate the "1" to the client, so that it was unique to each player. Further, once that value has been propagated, how would you save it on the client side so that it could be reloaded again (clientside) for a future visit?

Thanks in advance!
Post Reply