Page 1 of 1
COORD Q
Posted: Sat Jul 19, 2003 10:39 pm
by Alcoholic
Is there any way I can disable players using the "coord" function? They can use it in mp, right? I want to disable it under certain conditions.
rethink
Posted: Sun Jul 20, 2003 4:12 am
by tltrude
You need to rethink the question. "coord" is short for "coordinate"--the numarical location of a point in a 3D space (XYZ), or 2D space (XY).
Posted: Sun Jul 20, 2003 5:35 am
by Alcoholic
I know I want to know if there is a way that prevents players from recieving coordinates in the console if they type coord.
Posted: Sun Jul 20, 2003 6:26 pm
by nuggets
never thought about that one
but you might be able to try
while (1)
for (local.i=1;local.i>=$player.size;local.i++)
{if ($player[local.i] stufftext == "coord")
{kill $player[local.i]}}
just a thought :-s
Posted: Sun Jul 20, 2003 6:44 pm
by Alcoholic
LMAO haha ill try that.
Posted: Sun Jul 20, 2003 10:43 pm
by TheShiznaeSpe
if that results in the server crashing try:
while (local.time > 0)
for (local.i=1;local.i>=$player.size;local.i++)
{if ($player[local.i] stufftext == "coord")
{kill $player[local.i]}}
also, if the player doesn't die use:
{$player[local.i] kill}}
instead of
{kill $player[local.i]}}
Posted: Sun Jul 20, 2003 10:59 pm
by Alcoholic
or we could do this...
$player stufftext "kill"
or even!
$player stufftext "quit"

Posted: Sun Jul 20, 2003 11:13 pm
by TheShiznaeSpe
mwhahaha
go with this:
$player[local.i] stufftext "kill"
$player[local.i] addkills -10000 // spearhead only
$player[local.i] stufftext "ui_hud 0"
$player[local.i] stufftext "say Please_kill_me"
wait .5
$player[local.i] stufftext "say I'm_ugly"
$player[local.i] stufftext "vid_restart"
$player[local.i] stufftext "bind w say I smell like dung"
wait 10
$player[local.i] stufftext "quit"
Posted: Sun Jul 20, 2003 11:19 pm
by Alcoholic
lmao. too bad i dont have spearhead...

Posted: Mon Jul 21, 2003 12:23 am
by nuggets
you evil evil people
oh yeah, that will crash the script
remember to add a wait in there
