[Help] How to change price Convert GC to GD?

Results 1 to 2 of 2
  1. #1
    Sorcerer Supreme AlexRedd is offline
    Member +Rank
    Jan 2014 Join Date
    310Posts

    [Help] How to change price Convert GC to GD?

    Code:
    void FrontendWarZ::eventStorePurchaseGDCallback(r3dScaleformMovie* pMovie, const Scaleform::GFx::Value* args, unsigned argCount)
    {
        r3d_assert(argCount == 1);
        int priceInGC = args[0].GetInt();
    
        int conv = 0;
        int GDResult = gUserProfile.GetConvertedGP2GD(priceInGC, conv);
    
        char tmpStr[64];
        sprintf(tmpStr, "1GC = %d", conv);
    
        gfxMovie.SetVariable("_root.api.Main.PurchaseGC.Bar.Rate.text", tmpStr);
    
        gfxMovie.Invoke("_root.api.Main.PurchaseGC.setGCValue", GDResult);
    }


  2. #2
    Member promedans is offline
    MemberRank
    Apr 2014 Join Date
    60Posts

    Re: [Help] How to change price Convert GC to GD? (Doom V3)

    check sql tables ;)



Advertisement