26.03.2013, 11:50
Hey , when a player is banned , the admin name + reason are saved in the Ini file, I wanna load them when a player connect:
When compiling I get these errors:
How to fix it ? thanks.
pawn Код:
if(PlayerInfo[playerid][pBanned]==1)
{
new INI:File = INI_Open(UserPath(playerid));
new string[200];
INI:File[](name[], value[])
{
INI_String("AdminBan", ad, 15);
INI_String("Reason", reason, 70);
return 0; // This is now required.
}
}
Код:
C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(223) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(223) : error 017: undefined symbol "@INI_File_" C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(223) : error 017: undefined symbol "@INI_File_" C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(223) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.