SA-MP Forums Archive
I bet I fail, however... Dini_IntSet? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I bet I fail, however... Dini_IntSet? (/showthread.php?tid=144674)



I bet I fail, however... Dini_IntSet? - IcyBlight - 28.04.2010

Код:
new year[196];
format(year, sizeof(year), "%s", inputtext);
dini_IntSet(file, "BYear", year);
Someone enlighten me as to why this doesn't work. Tag mismatch.

I bet it's obvious but oh well.


Re: I bet I fail, however... Dini_IntSet? - dice7 - 28.04.2010

IntSet means integer set and integers are whole numbers
dini_Set(file, "BYear", year); will work


Re: I bet I fail, however... Dini_IntSet? - IcyBlight - 28.04.2010

Haha, see, I knew it was obvious. Thanks.