addhook("menu","aus_menu3")
function aus_menu3(id,t,b)
if(t == "Drug store") then
if(b == 1) then
if money[id]>=30000 then
parse("speedmod "..id.." 50")
money[id]=money[id]-30000
else
nope(id)
end
elseif(b == 2) then
if money[id]>=90000 then
parse("speedmod "..id.." 100")
money[id]=money[id]-90000
else
nope(id)
end
elseif(b == 4) then
if money[id]>=5000 then
parse("setmaxhealth "..id.." 150")
money[id]=money[id]-5000
else
nope(id)
end
elseif(b == 5) then
if money[id]>=15000 then
parse("setmaxhealth "..id.." 250")
money[id]=money[id]-15000
else
nope(id)
end
end
end