Give_Gold(M as mob in world)
var/a = input("How much gold do you want to give [M]","Give Gold",null)as num
if (Gold < a)
alert("You dont have that much gold")
return
else
src.Gold -= a
M.Gold += a
Problem description:loading Arena.dme
loading Arena.dms
Arena.dm:573:error:M.Gold:undefined var
Arena.dmb - 1 error, 0 warnings (double-click on an error to jump to it)
and gold is defined idk if im not useing M. right or something plese help
thanks in advance
~~> Dragon Lord