SA-MP Forums Archive
dini - 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: dini (/showthread.php?tid=111982)



dini - Abernethy - 05.12.2009

Okay. This is getting me really f*cking ticked off.
pawn Code:
new bool:YFBanned = dini_Bool(Userfile, "YFBanned");
Gives me the error;
Code:
warning 213: tag mismatch
I am doing exactly what I am told to do in this tutorial, but why the f*ck won't this work.


Re: dini - dice7 - 05.12.2009

I'm nut shore if you can actually return bool values. Just remove the bool tag and try like that


Re: dini - Abernethy - 05.12.2009

Quote:
Originally Posted by dice7
I'm nut shore if you can actually return bool values. Just remove the bool tag and try like that
Didn't work. Anyways, it showed in the usage on how to do it but it's false. I just think it will be cleaner then using 0 and 1. But i guess that's the only way.


Re: dini - Balon - 05.12.2009

How did you define Userfile variable?


Re: dini - Abernethy - 05.12.2009

Quote:
Originally Posted by Balon
How did you define Userfile variable?
pawn Code:
new
        Userfile[128],
        Name[20];

    GetPlayerName(playerid, Name, 20);
    format(Userfile, 128, "/Yuck_Fou/%s.ini", Name);