C:\Users\Admin\Desktop\samp03x_svr_R1-2_win32\filterscripts\test_sublime.pwn(79) : error 035: argument type mismatch (argument 1)
C:\Users\Admin\Desktop\samp03x_svr_R1-2_win32\filterscripts\test_sublime.pwn(80) : error 035: argument type mismatch (argument 1)
C:\Users\Admin\Desktop\samp03x_svr_R1-2_win32\filterscripts\test_sublime.pwn(81) : error 035: argument type mismatch (argument 1)
format(file,sizeof(file),"Houses/%i.ini",i);
INI_Open(file);
INI_WriteInt(file,"Owner",1);// Line 79 here
INI_WriteString(file,"Owner",pName);// line 80 here
INI_Close(file);//line 81 here
new INI:file2 = INI_Open(file); INI_WriteInt(file2, "Owner", 1); etc... INI_Close(file2);
C:\Users\Admin\Desktop\samp03x_svr_R1-2_win32\filterscripts\test_sublime.pwn(80) : warning 213: tag mismatch
C:\Users\Admin\Desktop\samp03x_svr_R1-2_win32\filterscripts\test_sublime.pwn(81) : warning 213: tag mismatch
C:\Users\Admin\Desktop\samp03x_svr_R1-2_win32\filterscripts\test_sublime.pwn(82) : warning 213: tag mismatch
C:\Users\Admin\Desktop\samp03x_svr_R1-2_win32\filterscripts\test_sublime.pwn(83) : warning 213: tag mismatch
new file = INI_Open(HousePath);
INI_WriteInt(file,"Owner",1);
INI_WriteString(file,"Owner",pName);
INI_Close(file);
stock HousePath(houseid)
{
new house[64];
format(house,64,"Houses/house%d.ini",houseid);
return house;
}
new INI:File = INI_Open(HousePath(houseid));
INI_WriteInt(File,"Owner",1);
INI_WriteString(File,"Owner",pName);
INI_Close(File);
|
Thanks but i fixed and have this error
PHP код:
PHP код:
|
new file = INI_Open(HousePath);
new INI:file = INI_Open(HousePath);