SphereCommunity
Where is the original SCP of menu buy/sell? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Where is the original SCP of menu buy/sell? (/Thread-Where-is-the-original-SCP-of-menu-buy-sell)

Pages: 1 2


Where is the original SCP of menu buy/sell? - pushim - 02-02-2015 03:24 PM

I can not find the menu in the scripts, or i need create my own scp?
if so, how do I generate the scrolling menu?


RE: Where is the original SCP of menu buy/sell? - Extreme - 02-03-2015 12:04 AM

It's client side.. Sphere send the data and client creates the menu. You need create your own menu then.


RE: Where is the original SCP of menu buy/sell? - amonvangrell - 02-03-2015 04:44 PM

Man that's the weird part, in the DMS Shard (u know it.. Big Grin), their news gump has a scrolling feature. and it works flawless... *confuse*


RE: Where is the original SCP of menu buy/sell? - XuN - 02-03-2015 05:00 PM

The News or MOTD is similar to Buy/Sell dialogs, you set the text and Sphere send it inside a Packet for the client to build it.


RE: Where is the original SCP of menu buy/sell? - pushim - 02-03-2015 09:10 PM

I need the scroll menu for a script where i enter a text in a small gump, where a long text can be scrolled down, no for a buy/sell menu


Re: RE: Where is the original SCP of menu buy/sell? - Extreme - 02-03-2015 11:35 PM

(02-03-2015 04:44 PM)amonvangrell Wrote:  Man that's the weird part, in the DMS Shard (u know it.. Big Grin), their news gump has a scrolling feature. and it works flawless... *confuse*

WHAT?
I'm sure you know the dhtmlgump, right?
It can scroll if the text inside is long, but you cannot make a new buy sell menu like the original.


RE: Where is the original SCP of menu buy/sell? - amonvangrell - 02-04-2015 09:18 AM

wow, I did not knew about the dhtmlgump... can u post an exemple?


RE: Where is the original SCP of menu buy/sell? - Extreme - 02-04-2015 09:21 AM

The syntax is in sphere_dialog.scp.
There is options for background, scrollbar..


RE: Where is the original SCP of menu buy/sell? - Jim - 02-04-2015 10:00 AM

The "dhtmlgump" can be set "has_scrollbar", but it is used to place some text not for entry some text.
Is there any gump that has scrollbar and also can used to entry some text?


RE: Where is the original SCP of menu buy/sell? - Extreme - 02-04-2015 12:39 PM

No.