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


Messages In This Thread
[0.1.*] Dialog Box - by Marcel - 16.05.2017, 11:47
RE: [0.1.*] Dialog Box - by Marcel - 18.02.2018, 20:14
RE: [0.1.*] Dialog Box - by Quarchodron - 18.02.2018, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)