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() ?
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() ?