How to add button in FrontEnd?
Example : Change outfit
Thx.
Printable View
How to add button in FrontEnd?
Example : Change outfit
Thx.
Need use New FrontEnd.swf
it very easy to add buttons
code in my src
if you want to add buttons set to true
Code:void FrontendWarZ::InitButtons()
{
Scaleform::GFx::Value vars[7];
vars[0].SetBoolean(false); // TIRAL
vars[1].SetBoolean(true); // OFFICIAL
vars[2].SetBoolean(false); // PRIVATE
vars[3].SetBoolean(false); // PREMIUM
vars[4].SetBoolean(false); // STRONGHOLD
vars[5].SetBoolean(true); // PTE
vars[6].SetBoolean(false); // VETERAN
gfxMovie.Invoke("_root.api.Main.BrowseGamesChannelsAnim.initButtons", vars, 7);
}
Ok, thx, but how to add a button in .swf file?
- - - Updated - - -
Official Servers button is active, but i click on it and nothing happens.