PDA

View Full Version : Help with Y_INI.


$Marco$
25/03/2015, 10:21 PM
What's wrong:


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?

Misiur
25/03/2015, 10:24 PM
You forgot semicolon one line higher.

Wolfe
25/03/2015, 10:29 PM
INI_Open(Accounts(targetid));
INI_WriteInt("FullyRegistered", 1);
INI_Save();
INI_Close();

Wolfe
25/03/2015, 10:31 PM
If that doesnt work use;


INI_Open(Accounts(targetid);
INI_WriteInt("FullyRegistered", 1);
INI_Save();
INI_Close();

SickAttack
26/03/2015, 12:11 AM
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.

$Marco$
26/03/2015, 12:43 AM
You forgot semicolon one line higher.

Thanks!