addhook("use","mod_use")
function mod_use(id,event,data,x,y)
if x == 71 and y == 38 then
if (player(id,"money")>=800) then
parse ("setmoney "..id.." "..(player(id,"money")-800));
parse("equip "..id.." "..79)
else if(player(id,"money")<800) then
msg2 (id,"©255000000This item costs 800$!@C");
end end
end
thx everyone for your helps
end