This script is supposed to give admin KILL power over clients. I know there is MOHAA CI w/ MaM scripts that does that. But where is the fun in just using someone else's script?
Please tell me what I did wrong. Here is the killer script:
Code: Select all
_start:
level waittill spawn
setcvar "clientkill" " "
local.playerind = getcvar "clientkill"
while(1)
{
wait .1
for(local.p = 1; local.p < $player.size+1;local.p++)
{
if($player[local.p].health > 0 && $player[local.p].dmteam != "spectator" && $player[local.p] == local.playerind )
{
$player[local.p] stufftext ("kill")
wait .5
$player[local.p] iprint "You Have Been Eliminated By The Host"
wait .1
setcvar "clientkill" " "
}
else
{
// I may need this?
}
}
wait (1)
}
endI wish I could help some people in this forum. But I am really new to scripting. I try to help however I can at the mohadmin forum. Just FYI.
