Weapon Gump dialog - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Weapon Gump dialog (/Thread-Weapon-Gump-dialog) |
Weapon Gump dialog - larmc20 - 01-27-2014 11:46 PM I made this script for a WARSHARD. But doesn't matter what Button the player press. It always will give a Short Spear. PHP Code: // Created 27/01/2014 11:37:59, with Gump Studio. RE: Weapon Gump dialog - Feeh - 01-27-2014 11:49 PM You must change the button id/param. Every button is set to 0, set them starting by 1 (0 is reserved for dialog closing) RE: Weapon Gump dialog - larmc20 - 01-27-2014 11:53 PM Thank man. It worked. RE: Weapon Gump dialog - Extreme - 01-27-2014 11:54 PM (01-27-2014 11:46 PM)larmc20 Wrote: I made this script for a WARSHARD. RE: Weapon Gump dialog - Feeh - 01-28-2014 08:13 AM Why are you using textentry instead of label? They're intended to use when the server must ask the user to entry some value Also, download the updated sphere export plugin. I've recompiled it some time ago but it is still working, and using a more effective syntax (dtext, dtextentry, dhtmlgump...) |