Forum

> > CS2D > Scripts > the reason for the error
Forums overviewCS2D overview Scripts overviewLog in to reply

English the reason for the error

3 replies
To the start Previous 1 Next To the start

old the reason for the error

ANOTHERDAILY
User Off Offline

Quote
the reason for the error?

Quote
wing1list = {96380,49544,45736,44067,87951,86332,96396,88345,25310,86332,88896}

addhook("serveraction","spot")
for _, usgn in ipairs(wing1list) do
if player(id,'usgn') == usgn then
function spot(id,g)
if g==3 then
menu(id,"Wings Mods By Nahuelpet ( W4R ) 1,Dragon Wings,Resized Demon Wings,Arctic Wings,Andromedar Wings,Void Arctic Wings,Gold Wings,Layer Of Hero,Phoenix Armor,Next",1,1,200+id)
end
end
end

addhook("menu","menuspot")
for _, usgn in ipairs(wing1list) do
if player(id,'usgn') == usgn then
function menuspot(id,title,button)
if title=="Wings Mods By Nahuelpet ( W4R ) 1" then
if button==1 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/dragon.png",1,1,200+id)
elseif button==2 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/resized_demon.png",1,1,200+id)
elseif button==3 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Arctic.bmp",1,1,200+id)
elseif button==4 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/andromedar.png",1,1,200+id)
elseif button==5 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/void_angel.png",1,1,200+id)
elseif button==6 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Gold.png",1,1,200+id)
elseif button==7 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/layer_of_hero.png",1,1,200+id)
elseif button==8 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Phoenix_set.png",1,1,200+id)
elseif button==9 then
menu(id,"Wings Mods By Nahuelpet ( W4R ) 2,Dark Angel Wings,Evil Wings,Bat Wings,Fairy Wings,Raven Wings,Angel Wings,Layer Of Evil,Wizard Set,Nothing")
end
end
if title=="Wings Mods By Nahuelpet ( W4R ) 2" then
if button==1 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Dark_Angel.png",1,1,200+id)
elseif button==2 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/evil.png",1,1,200+id)
elseif button==3 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/bat.png",1,1,200+id)
elseif button==4 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Fairy.png",1,1,200+id)
elseif button==5 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/raven.png",1,1,200+id)
elseif button==6 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/angel.png",1,1,200+id)
elseif button==7 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/layer_of_evil.png",1,1,200+id)
elseif button==8 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Wizard_set.png",1,1,200+id)
elseif button==9 then
freeimage(id)
end
end
end
end
end

old Re: the reason for the error

sheeL
User Playing CS2D

Quote
user Jhony has written
your function is wrong !


Oh Yeah

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
wing1list = {96380,49544,45736,44067,87951,86332,96396,88345,25310,86332,88896}

addhook("serveraction","spot")
function spot(id,g)
for _, usgn in ipairs(wing1list) do
if player(id,'usgn') == usgn then
if g==3 then
menu(id,"Wings Mods By Nahuelpet ( W4R ) 1,Dragon Wings,Resized Demon Wings,Arctic Wings,Andromedar Wings,Void Arctic Wings,Gold Wings,Layer Of Hero,Phoenix Armor,Next",1,1,200+id)
end
end
end

addhook("menu","menuspot")
function menuspot(id,title,button)
for _, usgn in ipairs(wing1list) do
if player(id,'usgn') == usgn then
if title=="Wings Mods By Nahuelpet ( W4R ) 1" then
if button==1 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/dragon.png",1,1,200+id)
elseif button==2 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/resized_demon.png",1,1,200+id)
elseif button==3 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Arctic.bmp",1,1,200+id)
elseif button==4 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/andromedar.png",1,1,200+id)
elseif button==5 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/void_angel.png",1,1,200+id)
elseif button==6 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Gold.png",1,1,200+id)
elseif button==7 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/layer_of_hero.png",1,1,200+id)
elseif button==8 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Phoenix_set.png",1,1,200+id)
elseif button==9 then
menu(id,"Wings Mods By Nahuelpet ( W4R ) 2,Dark Angel Wings,Evil Wings,Bat Wings,Fairy Wings,Raven Wings,Angel Wings,Layer Of Evil,Wizard Set,Nothing")
end
end
if title=="Wings Mods By Nahuelpet ( W4R ) 2" then
if button==1 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Dark_Angel.png",1,1,200+id)
elseif button==2 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/evil.png",1,1,200+id)
elseif button==3 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/bat.png",1,1,200+id)
elseif button==4 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Fairy.png",1,1,200+id)
elseif button==5 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/raven.png",1,1,200+id)
elseif button==6 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/angel.png",1,1,200+id)
elseif button==7 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/layer_of_evil.png",1,1,200+id)
elseif button==8 then
freeimage(id)
id1=image("gfx/Wings Mods By Nahuelpet ( W4R )/Wizard_set.png",1,1,200+id)
elseif button==9 then
freeimage(id)
end
end
end
end
end

old thank you

ANOTHERDAILY
User Off Offline

Quote
thank you

I am novice here need to close the topic?

I'm sorry for my english, I'm Brazilian and not speak very well english
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview