22.04.2014, 12:57
Pot is a string, not an integer, you should use
Oh yeah, I doubt you give any positive rep.
pawn Code:
dini_IntSet(target, "Pot", strval(pot) - amount);