25.01.2018, 20:08
hi... I have problem
Code: Dini
Code: INI
Errors: INI
I did it from DINI on the YSI
How do I fix it ...? I have it in Login...?
Code: Dini
PHP код:
if(!dini_Isset(way, "V0_pj"))
{
for(new s=0; s<5; s++)
{
new v_pj[16];
format(v_pj,16,"V%d_pj",s);
dini_IntSet(way,v_pj,9999);
}
}
Code: INI
PHP код:
if(!INI_WriteInt(UserPath(playerid), "V0_pj"))
{
for(new s=0; s<5; s++)
{
new v_pj[16];
format(v_pj,16,"V%d_pj",s);
INI_WriteString(UserPath(playerid),v_pj,9999);
}
}
PHP код:
if(!INI_WriteInt(UserPath(playerid), "V0_pj")) => error 035: argument type mismatch (argument 1)
INI_WriteString(UserPath(playerid),v_pj,9999); => error 035: argument type mismatch (argument 1)
How do I fix it ...? I have it in Login...?