File Ban.ini shows only ban= not player name - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: File Ban.ini shows only ban= not player name (
/showthread.php?tid=664228)
File Ban.ini shows only ban= not player name -
Deken - 22.02.2019
Hello i made something like ban.ini file where will after ban be typed player name i try with int then write 0 when i try writestring then only = . Here is a code
if(fexist(BAN()))
{
new INI:File = INI_Open(BAN());
INI_SetTag(File,"data");
PlayerInfo[playerid][IgracIme] = GetPlayerName(playerid,playername,sizeof(playernam e));
INI_WriteString(File,"Banovan:",PlayerInfo[playerid][IgracIme]);
INI_Close(File);
}