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); }


Reply With Quote![[Help] How to change price Convert GC to GD?](http://ragezone.com/hyper728.png)

