
Caboose117
Joined: Jul 23, 2006
Seriously guys?
|
Posted: Nov 12, 2010 10:58 PM
Msg. 1 of 10
It's able to be done with scripts, so it may be possible, however I don't know how you'd distinguish between players, as they're not defined by their names, but rather numbered by the game.
|
|
|

Co1t3r
Joined: Dec 13, 2008
|
Posted: Nov 12, 2010 11:09 PM
Msg. 2 of 10
sv_players
|
|
|

Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007
|
Posted: Nov 12, 2010 11:12 PM
Msg. 3 of 10
|
|
|

SeanTheLawn
Joined: Sep 4, 2007
|
Posted: Nov 13, 2010 03:28 AM
Msg. 4 of 10
Use sv_players to find the player number of the person you want to kill, then use the following command: (unit_kill (unit (list_get (players) X))) Where X = the number of teh player you want to kill.
|
|
|

Advancebo
Joined: Jan 14, 2008
|
Posted: Nov 13, 2010 12:18 PM
Msg. 5 of 10
yes.
|
|
|

SeanTheLawn
Joined: Sep 4, 2007
|
Posted: Nov 13, 2010 04:23 PM
Msg. 6 of 10
Quote: --- Original message by: qwertyuiop Doesn't work You're doing it wrong.
|
|
|

MoooseGuy
Joined: Aug 10, 2008
I Approve This Message.
|
Posted: Nov 13, 2010 04:26 PM
Msg. 7 of 10
Like this: (global short x 0)
(script continuous increment (if (= x 15) (begin (set x 0) ) (begin (set x (+ x 1)) ) ) )
(script BLAH BLAH (unit_kill (unit (list_get (players) x))) ) Edited by MoooseGuy on Nov 13, 2010 at 04:26 PM
|
|
|

SeanTheLawn
Joined: Sep 4, 2007
|
Posted: Nov 13, 2010 04:28 PM
Msg. 8 of 10
Well you can also just type it straight into console. Just tried it by the way. It works. EDIT Quote: --- Original message by: qwertyuiop how am I doing it wrong? I typed it in EXACTLY as you said (with the player number instead of "X") Try x-1 instead of x then. So if it says they're player 1, try 0, etc. Edited by SeanTheLawn on Nov 13, 2010 at 04:30 PM
|
|
|

SeanTheLawn
Joined: Sep 4, 2007
|
Posted: Nov 13, 2010 04:51 PM
Msg. 9 of 10
It exceptions if you try to kill a player that isn't in the server.
|
|
|

Co1t3r
Joined: Dec 13, 2008
|
Posted: Nov 13, 2010 05:58 PM
Msg. 10 of 10
The first player starts at 0
|
|
|