Quote:
Originally posted by Sennema
I just skimmed through it a bit, but the problem seems to be that your playing around with tokens that haven't been set yet.
ex:
NPC Code:
if(strequals(#t(0),buy)) {
this.BUYamount=#t(2);
Change the strequals to something else, like startswith or something. But I'm not sure. It's 12:00 and I just woke up after going to bed at 1:00.
Your also gonna have to check the length of the string (strelen I think it is).
|
this.BUYamount=#t(2);
change that to
setstring this.BUYamount,#t(2);