1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
addhook("use","_use") function _use(x,y) if (x == 8 and y == 7) then menu(id,"Open Door 1,Open For == |600 $.") end 	end 	 addhook("menu","_menu") function _menu(id,title,key) if (title == "Open Door 1") then if (key == 1) then local money = player(id,"money") if money>599 then parse("setmoney "..id.." "..(player(id,"money") - 600)) parse("trigger ww1") end end end end