Multiple Player Kicks?
#5

Quote:
Originally Posted by [L3th4l]
View Post
You can try:
pawn Code:
stock KickEx(...)
{
    for(new i = 0; i != numargs(); ++i)
    {
        if(IsPlayerConnected(getarg(i)) Kick(getarg(i));
    }
    return 1;
}

// Usage: KickEx(1, 2, 6, 7, 25, 52, 125, 252, 450);
That was going to be my first response, but he needs a way to implement that function into a command.

It would be nice if sscanf had an option (or maybe it does and I've overlooked it) to parse an unknown amount of values into an array.
Reply


Messages In This Thread
Multiple Player Kicks? - by (_AcE_) - 09.08.2011, 04:41
Re: Multiple Player Kicks? - by Backwardsman97 - 09.08.2011, 05:03
Re: Multiple Player Kicks? - by Grim_ - 09.08.2011, 05:26
Re: Multiple Player Kicks? - by [L3th4l] - 09.08.2011, 05:35
Re: Multiple Player Kicks? - by Grim_ - 09.08.2011, 05:40
Re: Multiple Player Kicks? - by (_AcE_) - 09.08.2011, 16:18
Re: Multiple Player Kicks? - by MadeMan - 09.08.2011, 16:53
Re: Multiple Player Kicks? - by Stylock - 09.08.2011, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)