I doesnt matter for what weapon you do it just give me an example like for the m3
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Gun from wall
4 Antworten![Zum Anfang](img/i_first.png)
![Vorherige](img/i_prev.png)
![Nächste](img/i_next.png)
![Zum Anfang](img/i_last.png)
I doesnt matter for what weapon you do it just give me an example like for the m3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
addhook("say","wpnmenu") function wpnmenu(id,txt) if (txt=="!weapons") then menu(id, "What weapon do you need?, M3|5000$") end end addhook("menu","admmenu") function admmenu(id,men,sel) if men == "What weapon do you need?" then 	 if sel == 1 and player(id,"money") >= 4999 then parse("setmoney "..id.." "..player(id,"money")-5000) parse("equip "..id.." 10") msg2(id,"You now have an M3") end end end
I've tested it, and here are results:
![∗](img/star.gif)
![>](img/i_next.png)
Only sorry, i don't know how to do the "When you press on a wall" thing.
But i will try to find our.
Nice begining but this is not what i want.
It has to come from a use button.
And if i have already a weapon the m3 cant be bought.
That is what i want.
![Zum Anfang](img/i_first.png)
![Vorherige](img/i_prev.png)
![Nächste](img/i_next.png)
![Zum Anfang](img/i_last.png)