INI_Close (INI:file=-1)
#3

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение
Show me this line 6431.
This is under OnPlayerDisconnect
Line 6431: LeaveGroup(playerid, 2);

pawn Код:
stock LeaveGroup(playerid, reason)
{
    new groupid = group[playerid][gid], orderid = group[playerid][order], string[100], pname[24];
    group[playerid][gid] = -1;
    group[playerid][order] = -1;
    GroupCheck(groupid, orderid);
    GetPlayerName(playerid, pname, 24);
    if(reason == 0)
    {
        format(string, sizeof(string), "%s(%d) has left your group!", pname, playerid);
        SendClientMessage(playerid, 0xFF9900AA, "You have left your group");
    }
    if(reason == 1)
    {
        format(string, sizeof(string), "%s(%d) has left your group (Kicked by the leader)", pname, playerid);
        SendClientMessage(playerid, 0xFFCC66, "You have been kicked from your group!");
    }
    if(reason == 2) format(string, sizeof(string), "%s(%d) has left your group (Disconnected)!", pname, playerid);
    SendMessageToAllGroupMembers(groupid, string);
    return 1;
}
but this is two lines above it
INI_Close(File);
Reply


Messages In This Thread
INI_Close (INI:file=-1) - by SnG.Scot_MisCuDI - 04.02.2015, 08:47
Re: INI_Close (INI:file=-1) - by PaulDinam - 04.02.2015, 09:49
Re: INI_Close (INI:file=-1) - by SnG.Scot_MisCuDI - 04.02.2015, 18:59
Re: INI_Close (INI:file=-1) - by Sime30 - 04.02.2015, 19:40
Re: INI_Close (INI:file=-1) - by SnG.Scot_MisCuDI - 04.02.2015, 19:59
Re: INI_Close (INI:file=-1) - by Sime30 - 04.02.2015, 20:51
Re: INI_Close (INI:file=-1) - by SnG.Scot_MisCuDI - 04.02.2015, 20:56
Re: INI_Close (INI:file=-1) - by Sime30 - 04.02.2015, 21:05
Re: INI_Close (INI:file=-1) - by SnG.Scot_MisCuDI - 04.02.2015, 21:13
Re: INI_Close (INI:file=-1) - by SnG.Scot_MisCuDI - 05.02.2015, 08:09

Forum Jump:


Users browsing this thread: 1 Guest(s)