#Save team score and show top 3 team on Global Leaderboard?

1 messages · Page 1 of 1 (latest)

quasi glen
#

save a table
for example

#

randomnickname:{'Red',score_amount}

bitter arrow
#

Do i save it under each player_userid or serverId? If i would have used reserved server i could have taken the reserved server id to save it under. But on non-reserved servers i dont know how.. jobID changes on each active server.

bitter arrow
#

Omg.. I Think i just got a aha-feeling.. I could just as you said save it what team each player is in and there total score in that team. and then use, i guess GetOrderedStore ( never used it before ) and itterate thru the datastore for every player in lets say "Red" and then after that itterate thru and check every of those players team score? wow. Thank you!!!

I was so force-minded that i needed the serverID to save the team scores >_<

Thank You @quasi glen !!