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)
+--- Thread: Help with Y_INI. (
/showthread.php?tid=568871)
Help with Y_INI. -
$Marco$ - 25.03.2015
What's wrong:
pawn Код:
INI_Open(Accounts(targetid))
INI_WriteInt("FullyRegistered", 1); //line 3949
INI_Save();
INI_Close();
Код:
bare.pwn(3949) : error 001: expected token: ";", but found "-identifier-"
Can anyone help?
Re: Help with Y_INI. -
Misiur - 25.03.2015
You forgot semicolon one line higher.
Re: Help with Y_INI. -
Wolfe - 25.03.2015
pawn Код:
INI_Open(Accounts(targetid));
INI_WriteInt("FullyRegistered", 1);
INI_Save();
INI_Close();
Re: Help with Y_INI. -
Wolfe - 25.03.2015
If that doesnt work use;
Код:
INI_Open(Accounts(targetid);
INI_WriteInt("FullyRegistered", 1);
INI_Save();
INI_Close();
Re: Help with Y_INI. -
SickAttack - 26.03.2015
Quote:
Originally Posted by Wolfe
If that doesnt work use;
Код:
INI_Open(Accounts(targetid);
INI_WriteInt("FullyRegistered", 1);
INI_Save();
INI_Close();
|
The first code is correct, this one is wrong.
Re: Help with Y_INI. -
$Marco$ - 26.03.2015
Quote:
Originally Posted by Misiur
You forgot semicolon one line higher.
|
Thanks!