Storing a per-player setting client-side

Discussions about Coding and Scripting

Storing a per-player setting client-side

Postby ShaiHulud » Tue Jan 10, 2017 11:14 am

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!
ShaiHulud
Adept
 
Posts: 341
Joined: Sat Dec 22, 2012 6:37 am

Return to Coding, Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron