Y_Ini load help
#7

pawn Код:
forward SaveClan(clanid);
public SaveClan(clanid)
{
    new INI:File = INI_Open(ClanPath(clanid));
    INI_SetTag(File,"data");
    INI_WriteString(File,"ClanName",ClanInfo[clanid][cName]);
    INI_WriteString(File,"ClanTag",ClanInfo[clanid][cTag]);
    INI_WriteString(File,"Leader",ClanInfo[clanid][cLeader]);
    INI_WriteInt(File,"ID",ClanInfo[clanid][cId]);
    INI_WriteInt(File,"Member",ClanInfo[clanid][cMember]);
    INI_WriteInt(File,"Color",ClanInfo[clanid][cColor]);
    INI_Close(File);
}
When we create a clan the clan automaticaly save the clan
Reply


Messages In This Thread
Y_Ini load help - by HolyScripter - 26.02.2015, 00:15
Re: Y_Ini load help - by Rally - 26.02.2015, 00:24
Re: Y_Ini load help - by HolyScripter - 26.02.2015, 00:26
Re: Y_Ini load help - by HolyScripter - 26.02.2015, 05:58
Re: Y_Ini load help - by HolyScripter - 26.02.2015, 06:05
Re: Y_Ini load help - by Kenway - 26.02.2015, 06:18
Re: Y_Ini load help - by HolyScripter - 26.02.2015, 06:20
Re: Y_Ini load help - by Kenway - 26.02.2015, 06:23
Re: Y_Ini load help - by HolyScripter - 26.02.2015, 07:07
Re: Y_Ini load help - by HolyScripter - 26.02.2015, 09:32

Forum Jump:


Users browsing this thread: 2 Guest(s)