Where do i add the code, Below or on top? sorry i feel so stupid, Can you explain where to post the codes
here is all codes i have for my !rules that i want to add the close button tried alot myself
sorry but iam still beginner
Maybe you could add the code into this? or just give me instructions
Here is it also on pastebin.com :
http://pastebin.com/8y4J9Vft
case "!rules"://Backround
{
insim.Send(new IS_BTN
{
ReqI = 255,
UCID = MSO.UCID,
ClickID = 1,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK,
T = 30,
L = 45,
W = 100,
H = 50,
Text = "",
});
var buttons = new List<IS_BTN> {
new IS_BTN
{
ReqI = 3,
UCID = MSO.UCID,
ClickID = 2,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK,
T = 30,
L = 45,
W = 100,
H = 10,
Text = "^4N^1C^7 Rule List", },
new IS_BTN
{
ReqI = 4,
UCID = MSO.UCID,
ClickID = 3,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK | ButtonStyles.ISB_LEFT,
T = 40,
L = 45,
W = 100,
H = 5,
Text = "^4N^1C^3**^7Ramming Is Not Allowed!", },
new IS_BTN
{
ReqI = 5,
UCID = MSO.UCID,
ClickID = 5,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK | ButtonStyles.ISB_LEFT,
T = 45,
L = 45,
W = 100,
H = 5,
Text = "^4N^1C^3**^7Respect Others Including Admins!", },
new IS_BTN
{
ReqI = 6,
UCID = MSO.UCID,
ClickID = 6,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK | ButtonStyles.ISB_LEFT,
T = 50,
L = 45,
W = 100,
H = 5,
Text = "^4N^1C^3**^7No Swearing Is Allowed!", },
new IS_BTN
{
ReqI = 7,
UCID = MSO.UCID,
ClickID = 7,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK | ButtonStyles.ISB_LEFT,
T = 55,
L = 45,
W = 100,
H = 5,
Text = "^4N^1C^3**^7No Racism!", },
new IS_BTN
{
ReqI = 8,
UCID = MSO.UCID,
ClickID = 8,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK | ButtonStyles.ISB_LEFT,
T = 60,
L = 45,
W = 100,
H = 5,
Text = "^4N^1C^3**^7No Namecalling!", },
new IS_BTN
{
ReqI = 9,
UCID = MSO.UCID,
ClickID = 9,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK | ButtonStyles.ISB_LEFT,
T = 65,
L = 45,
W = 100,
H = 5,
Text = "^4N^1C^3**^7No Insulting!", },
new IS_BTN
{
ReqI = 10,
UCID = MSO.UCID,
ClickID = 10,
BStyle = ButtonStyles.ISB_DARK | ButtonStyles.ISB_CLICK | ButtonStyles.ISB_LEFT,
T = 70,
L = 45,
W = 100,
H = 10,
Text = "^4N^1C^3**^3>>>>>>^7SHIFT+I - To Delete This^3<<<<<<<<<<<", },
// Etc...
};
// Send list in one go.
insim.Send(buttons);
break;
}