Reconnectall command problem
#1

I'm trying to make a command that will reconnect everyone but it's not working and I'm getting a few errors..
pawn Код:
CMD:reconnectall(playerid, params[])
{
    foreach(Player, i)
    if(IsPlayerConnected(i))
    new ip[16], string[180];
    GetPlayerIp(i, ip, sizeof(i));
    print(string);
    format(string, sizeof(string), "banip %s", ip);
    SetPVarString(i,"reconnect",ip);
    ireconnect[i] = 1;
    SendRconCommand(string);
    return 1;
}
Reply


Messages In This Thread
Reconnectall command problem - by andrew2695 - 28.08.2012, 07:21
Re: Reconnectall command problem - by Cjgogo - 28.08.2012, 07:27
Re : Reconnectall command problem - by andrew2695 - 28.08.2012, 07:48
Re: Reconnectall command problem - by C00K13M0N$73R - 28.08.2012, 08:46

Forum Jump:


Users browsing this thread: 1 Guest(s)