new File:totalAccount=fopen("/BuGliCH/total/totalAccount.ini", io_write); if(!fexist(totalAccount) { fwrite(totalAccount, "total accounts = 0"); fclose(totalAccount); } |
C:\Users\Manu\Desktop\SAMP\gamemodes\TEST1.pwn(301 ) : error 035: argument type mismatch (argument 1) C:\Users\Manu\Desktop\SAMP\gamemodes\TEST1.pwn(152 93) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
new File:totalAccount=fopen("/BuGliCH/total/totalAccount.ini", io_write); if(fexist(totalAccount) { fwrite(totalAccount, "total accounts = 0"); fclose(totalAccount); }
new File:totalAccount=fopen("/BuGliCH/total/totalAccount.ini", io_write); if(fexist(totalAccount) { fwrite(totalAccount, "total accounts = 0"); fclose(totalAccount); }}
Код:
new File:totalAccount=fopen("/BuGliCH/total/totalAccount.ini", io_write); if(fexist(totalAccount) { fwrite(totalAccount, "total accounts = 0"); fclose(totalAccount); } |
strcmp is for comparing strings, not integers.
Код:
new File:totalAccount=fopen("/BuGliCH/total/totalAccount.ini", io_write); if(fexist(totalAccount) { fwrite(totalAccount, "total accounts = 0"); fclose(totalAccount); }} |
new File:totalAccount=fopen("BuGliCH/total/totalAccount.ini", io_write);
if(!fexist("BuGliCH/total/totalAccount.ini")
{
fwrite(totalAccount, "total accounts = 0");
fclose(totalAccount);
}