• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code [HELP] Modify default weapon cost Mutator

Hi.
I found the way to change WeaponPickup.cost with mutator
function PreBeginPlay()
{
class'SVD.SVDPickup'.default.cost = 1;
}

but in ServerPerksV510->CustomShop the cost string have old cost value. If I press Buy key in shop, the real cost is new = 1$ but the string is old cost. I mean

SVD Machine gun ..... 4000$


how to change thist?

I think need to change cost before CustomShop loads. is there some function that loads before PreBeginPlay() ?