WAREHOUSE
Scaleform displays the warehouse selling screen.
It is important to use SET_WAREHOUSE_DATA after all other calls. Only then the buyer data is showing
BeginScaleformMovieMethod(scaleform, "SET_TITLE") PushScaleformMovieMethodParameterString("TITLE") -- title text PushScaleformMovieMethodParameterString("DESC") -- description text EndScaleformMovieMethod()
BeginScaleformMovieMethod(scaleform, "SET_PLAYER_DATA") PushScaleformMovieMethodParameterString("PLAYER_NAME") -- player name PushScaleformMovieMethodParameterString("ORGANIZATION") -- organization name ScaleformMovieMethodAddParamFloat(25.0) -- seller rating ScaleformMovieMethodAddParamInt(5) -- total sells ScaleformMovieMethodAddParamInt(10) -- total earnings EndScaleformMovieMethod()
BeginScaleformMovieMethod(scaleform, "SET_BUYER_DATA") PushScaleformMovieMethodParameterString("ORGANISATION_0") -- organization name PushScaleformMovieMethodParameterString("AMOUNT_0") -- description / amount ScaleformMovieMethodAddParamInt(120) -- selling price PushScaleformMovieMethodParameterString("ORGANISATION_1") -- player name PushScaleformMovieMethodParameterString("AMOUNT_1") -- description / amount ScaleformMovieMethodAddParamInt(10) -- selling price PushScaleformMovieMethodParameterString("ORGANISATION_2") -- player name PushScaleformMovieMethodParameterString("AMOUNT_2") -- description / amount ScaleformMovieMethodAddParamInt(46) -- selling price PushScaleformMovieMethodParameterString("ORGANISATION_3") -- player name PushScaleformMovieMethodParameterString("AMOUNT_3") -- description / amount ScaleformMovieMethodAddParamInt(7689) -- selling price EndScaleformMovieMethod()
BeginScaleformMovieMethod(scaleform, "SET_WAREHOUSE_DATA") PushScaleformMovieMethodParameterString("NAME") -- warehouse name PushScaleformMovieMethodParameterString("LOCATION") -- warehouse location PushScaleformMovieMethodParameterString("") --txd (not used) ScaleformMovieMethodAddParamInt(1) -- warehouse size (-1 = size_all / empty | 0 = size_small | 1 = size_medium | 2 = size_large) ScaleformMovieMethodAddParamInt(123) -- capacity ScaleformMovieMethodAddParamInt(35) -- amount stored ScaleformMovieMethodAddParamInt(36) -- current value (not sure where used) PushScaleformMovieMethodParameterString("BOHNEN") --special items ScaleformMovieMethodAddParamInt(5) -- sell cooldown in seconds (displays a cooldown on the selling buttons before you can use them) EndScaleformMovieMethod()