R_Bot doen't connect
#7

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
So the bot has the correct number when it joins I guess.

EDIT: Just try using: Kick(botid);
Ohh, of course. My bad.

pawn Код:
COMMAND:dbot(playerid,params[])
{
    new ID;
    if(sscanf(params,"i",ID))
    {
        Fehler(playerid,"[Usage]: /dbot [BotID]");
        for(new i=0; i<sizeof(R_Bot); i++)
        {
            if(R_Bot[i] == 0) continue;
            formatEx(playerid,0xFEFEFEFF,"_________ CONNECTED BOT's ________",0);
            formatEx(playerid,0xFEFEFEFF,"%i",i);
        }
        return true;
    }
    if(R_Bot[ID] == 0)
        return Fehler(playerid,"This Bot doens't exist!");
    Kick(R_Bot[ID]);
    return 1;
}
Reply


Messages In This Thread
R_Bot doen't connect - by Narushi - 21.12.2012, 11:06
Re: R_Bot doen't connect - by LarzI - 21.12.2012, 11:12
Re: R_Bot doen't connect - by Threshold - 21.12.2012, 11:15
Re: R_Bot doen't connect - by LarzI - 21.12.2012, 11:16
Re: R_Bot doen't connect - by Narushi - 21.12.2012, 11:18
Re: R_Bot doen't connect - by Threshold - 21.12.2012, 11:18
Re: R_Bot doen't connect - by LarzI - 21.12.2012, 11:21
Re: R_Bot doen't connect - by Narushi - 21.12.2012, 11:22

Forum Jump:


Users browsing this thread: 1 Guest(s)