ItsMods

Full Version: Message Box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I do not know why I did this...
I hope idea is clear
PHP Code:
//THIS EXAMPLE CODE
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Text.RegularExpressions;
using System.Runtime.InteropServices;
using Addon;

namespace 
MsgBox
{
    public class 
MsgBox CPlugin
    
{
        [
DllImport("user32.dll"CharSet CharSet.Unicode)]
        public static 
extern int MessageBox(IntPtr hWndString textString captionuint type);
        public static 
void ShowMessageBox(string Msgstring Title)
        {
            
MessageBox(new IntPtr(0), MsgTitle0);
        }
        public 
override void OnServerLoad()
        {
            
ShowMessageBox("Ex: Test message""Information");
        }
    }

And this does what?
(01-03-2016, 07:34)Casper Wrote: [ -> ]And this does what?

Displays MessageBox.
Can apply in different directions ...