Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[0.1.*] Dialog Box
#1
[Image: iDLEZUJ.png]

official link link has expired

Creating a new dialog
Code:
//In client-script:
Dialog.create(id, ...), eg. Dialog.create(0, "Option 1", "Option 2");

//In event handler on server (file server-scripts/dialogbox.nut):
function dialogBoxEvent(pid, id, position){
    if(id==0){
        switch(position){
            case 0: // code
            case 1: // code
        }
    }
}
script to any use
//update: better centering, fixed bug while destroy
Reply
#2
has anyone this script? because user want it, i don't have.
Reply
#3
In some old script i saw this so maybe that is what u looking for. https://pastebin.com/cnQQqGPz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)