1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
addhook("menu", "RPmenu") function RPmenu(id, tile, button) if title == "Drop Money" then if button == 0 then return end menu(id, "Drop Money,10,500,1000,5000,10000,50000,100000") if button == 1 then if addmoney(id, -100) then parse(string.format("spawnitem 66 %i %i", player(id, "tilex"), player(id, "tiley"))) end