Quote:
Originally Posted by Bugsy
If I understand correctly, you have 2 global arrays which each hold player values, one array for each team. You want to save this on map change/shutdown or something and restore the values?
There are many options, I'd personally save the array data to a binary file or use nvault array. This is based on what I know, if there other things going on then SQL may be better.
|
Well, at the moment I have nothing, the score I need to save is not that of the teamscore itself but rather the one of the HUD that I created that every EVENT TR WIN and EVENT CT Win sets ++ in globals, at a certain point of the game , a "battle" of knives begins where hud gets 0x0 and later ++ with the winning team, it is before that time of the battle that I want to save the score Time ct = 7 time tr = 8 for example, end of the battle I use the global hud score and continue from where I was.