PDA

View Full Version : Zpam301 Half time score reset.



bulent
19th April 2020, 03:19
Hi Guys!
Zpam mod half time players scores are reset. I don't want the players scores to be reset. What should I do?:confused:

IzNoGoD
19th April 2020, 09:36
Store scores in the .pers["something"] variable, and retrieve on game start.

bulent
19th April 2020, 15:43
Store scores in the .pers["something"] variable, and retrieve on game start.

Can you be a little more revealing? Thanks you.

IzNoGoD
20th April 2020, 17:31
Look how SD does it by default.

The player-based .pers variable is not reset on a soft-reset (map_restart(true);), so store anything of value in there and retrieve it after the variable you want to keep HAS been reset.

bulent
23rd April 2020, 00:47
Look how SD does it by default.

The player-based .pers variable is not reset on a soft-reset (map_restart(true);), so store anything of value in there and retrieve it after the variable you want to keep HAS been reset.


I have no idea how to do what you say :(