Forum

> > CS2D > Scripts > Hello,i need script armor Menu
Forums overviewCS2D overview Scripts overviewLog in to reply

English Hello,i need script armor Menu

16 replies
To the start Previous 1 Next To the start

moved Hello,i need script armor Menu

you pro
BANNED Off Offline

Quote
Hi All
I need script armor Menu
ArmorList
Armor 1 : Kevlar
Armor 2 : Kevlar + Helm
Armor 3 : Stealth Shut
Armor 4 : Light Armor
Armor 5 : Armor (50%)
Armor 6 : Drop my armor
Armor 7 : Remove Armor
-------------------------------
Note : Armor Menu F3
Play : Cs2D

Admin/mod comment

Please choose the right section (Script ins this case) next time. Moved /DC

old Re: Hello,i need script armor Menu

you pro
BANNED Off Offline

Quote
Hi :user Talented Doge i need armor
Armor 1 : Kevlar
Armor 2 : Kevlar + Helm
Armor 3 : Stealth Shut
Armor 4 : Light Armor
Armor 5 : Armor (50%)
Armor 6 : Drop my armor
Armor 7 : Remove Armor
No all and no item and weapon ok
thanks

old Re: Hello,i need script armor Menu

The Gajos
BANNED Off Offline

Quote
@user you pro: You are fu*king moron! You already got a script and now you can easily edit this!
Spoiler >

Whore, you are such stupid moron that I feel sorry for you.

@Moderators: If you don't agree with me, is something wrong with you.

old Re: Hello,i need script armor Menu

Rainoth
Moderator Off Offline

Quote
Please, user DC, we need some kind of rule to prevent people from asking needlessly.
What he wants has been asked a 100 times and done 200. He just needs to search and use common sense. I am getting seriously irritated by this guy not because he spams the same message until someone posts the code but because he's not even trying to do it himself. These kinds of "make it for me" threads shouldn't be welcome here. Yes, I understand that he knows shit when it comes to scripting but as it was mentioned before, he got a script that does the SAME thing and yet he makes another thread about it.
I don't even know anymore...

old Re: Hello,i need script armor Menu

GeoB99
Moderator Off Offline

Quote
@user Rainoth: Err.., well I may go wrong but isn't this rule that's talking about such situations like now?
Rules §2.1 - No needless and/or doubled posts (spam)
I know right, this rule doesn't tell anything about "asking another help which is same as the previous one is forbidden" but still when someone create a "do it for me" or "I need this script" thread which the respective user has been already helped by some of the users in the previous thread but still the user create another thread like this which it has been asked like a million of time, then in my opinion is considered a needless thread. Maybe this rule would fit very good but that's my opinion anyway.

Oh and additional thing: I hope I didn't nothing wrong or illegitimate if I added this rule in my reply, I just wanted to express my opinion regard this thing, so please don't get me wrong. I hope everything is fine.

old Re: Hello,i need script armor Menu

Rainoth
Moderator Off Offline

Quote
@user GeoB99: Although it would be the same thing if we changed a couple of words, he's still not repeating exactly the same thing so it's not doubled post. At least I don't think so.

old Re: Hello,i need script armor Menu

XoOt
Super User Off Offline

Quote
user Rainoth has written
Please, user DC, we need some kind of rule to prevent people from asking needlessly.
What he wants has been asked a 100 times and done 200. He just needs to search and use common sense. I am getting seriously irritated by this guy not because he spams the same message until someone posts the code but because he's not even trying to do it himself. These kinds of "make it for me" threads shouldn't be welcome here. Yes, I understand that he knows shit when it comes to scripting but as it was mentioned before, he got a script that does the SAME thing and yet he makes another thread about it.
I don't even know anymore...

I freaking double that.
People should get banned for being idiots and being lazy. Lua isnt hard to learn if you just spend a few hours (would be enough for the simple shit he wants) for it. Being dumb isnt a crime but being lazy is the most inacceptable shit in this case. Letting others do the work is just retarded. If you want something then go and try it yourself first. You still can ask for help about lua if its needed.

old Plasse all

Skill
User Off Offline

Quote
I need Armor lua ? Plasse Message me?

old Re: Hello,i need script armor Menu

RedizGaming
GAME BANNED Off Offline

Quote
user you pro has written
Hi :user Talented Doge i need armor
Armor 1 : Kevlar
Armor 2 : Kevlar + Helm
Armor 3 : Stealth Shut
Armor 4 : Light Armor
Armor 5 : Armor (50%)
Armor 6 : Drop my armor
Armor 7 : Remove Armor
No all and no item and weapon ok
thanks


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
armusing = {}

for i = 1,32 do
     armusing[i] = 0
end

addhook("serveraction","action_b")
function action_b(id,act)
     if act == 2 then
          menu(id,"Armor Menu,Kevlar,Kevlar + helm,Stealth Suit,Light Armor,Armor|50,Drop my armor,Remove armor")
     end
end

addhook("menu","menu_b")
function menu_b(id,men,butt)
     if men == "Armor Menu" then
          if butt == 1 then
               eq_a(id,57)
               armusing[id] = 57
          end
          if butt == 2 then
               eq_a(id,58)
               armusing = 58
          end
          if butt == 3 then
               eq_a(id,84)
               armusing[id] = 84
          end
          if butt == 4 then
               eq_a(id,79)
               armusing[id] = 79
          end
          if butt == 5 then
               eq_a(id,80)
               armusing[id] = 80
          end
          if butt == 6 then
               if armusing[id] >= 1 then
                    parse('spawnitem '..armusing[id]..' '..player(id,'tilex')..' '..player(id,'tiley'))
                    parse('setarmor '..id..' 0')
                    armusing[id] = 0
               else
                    msg2(id,'©255000000You not have an armor!')
               end
          end
          if butt == 7 then
               parse('setarmor '..id..' 0')
          end
     end
end

function eq_a(id,itema)
     parse('equip '..id..' '..itema..' ')
end

Try to use it

pd: I edit the code :3

old Re: Hello,i need script armor Menu

Skill
User Off Offline

Quote
user RedizGaming has written
user you pro has written
Hi :user Talented Doge i need armor
Armor 1 : Kevlar
Armor 2 : Kevlar + Helm
Armor 3 : Stealth Shut
Armor 4 : Light Armor
Armor 5 : Armor (50%)
Armor 6 : Drop my armor
Armor 7 : Remove Armor
No all and no item and weapon ok
thanks


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
armusing = {}

for i = 1,32 do
     armusing[i] = 0
end

addhook("serveraction","action_b")
function action_b(id,act)
     if act == 2 then
          menu(id,"Armor Menu,Kevlar,Kevlar + helm,Stealth Suit,Light Armor,Armor|50,Drop my armor,Remove armor")
     end
end

addhook("menu","menu_b")
function menu_b(id,men,butt)
     if men == "Armor Menu" then
          if butt == 1 then
               eq_a(id,57)
               armusing[id] = 57
          end
          if butt == 2 then
               eq_a(id,58)
               armusing = 58
          end
          if butt == 3 then
               eq_a(id,84)
               armusing[id] = 84
          end
          if butt == 4 then
               eq_a(id,79)
               armusing[id] = 79
          end
          if butt == 5 then
               eq_a(id,80)
               armusing[id] = 80
          end
          if butt == 6 then
               if armusing[id] >= 1 then
                    parse('spawnitem '..armusing[id]..' '..player(id,'tilex')..' '..player(id,'tiley'))
                    parse('setarmor '..id..' 0')
                    armusing[id] = 0
               else
                    msg2(id,'©255000000You not have an armor!')
               end
          end
          if butt == 7 then
               parse('setarmor '..id..' 0')
          end
     end
end

function eq_a(id,itema)
     parse('equip '..id..' '..itema..' ')
end

Try to use it

pd: I edit the code :3
















Drop for armors is bad ×
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview