SA-MP Forums Archive
Little help with y_ini. - 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: Little help with y_ini. (/showthread.php?tid=270706)



Little help with y_ini. - GangsTa_ - 21.07.2011

I have started coding using y_ini today, as I'm a beginner with it, I try to do different things.

pawn Code:
format(var, 64, "%d",PlayerInfo[playerid][pLevel]);INI_WriteInt(hFile,"Level=", var);
Why do I have an error on this line saying "Argument type mismatch"?


Re: Little help with y_ini. - Skaizo - 21.07.2011

INI_WriteInt(hFile,"Level", var);


Re: Little help with y_ini. - GangsTa_ - 21.07.2011

So for the level I use INI_WriteInt?


Re: Little help with y_ini. - HyperZ - 21.07.2011

Quote:
Originally Posted by GangsTa_
View Post
So for the level I use INI_WriteInt?
Yes.
pawn Code:
INI_WriteInt(hFile,"Level",var);