Explaining more...
Tried this & keep TagMismach:
pawn Код:
new INI:File = INI_Open(UserPath(playerid));
new string[200];
format(string, sizeof(string), "Admin: %s\nReason: %s",INI_String(File,"AdminBan"),INI_String(File,"Reason"));
NB: The AdminBan+Reason are saved when the player is banned so I don't know how to load them....
Код:
C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(209) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(209) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(209) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\Administrateur\Bureau\Mrich's CnR\gamemodes\CnR.pwn(209) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
EDIT
I think guys u didn't understand , I only want how to get a s aved string using y_ini
pawn Код:
INI_String("Reason",reason,70);
is correct ? don't think so , cuz it will not know what is the player's file...