Blockland Forums > Suggestions & Requests
AGlassOfMilk's Kill Command
Deep2:
--- Quote from: WhatevaGuy on October 13, 2009, 10:19:58 PM ---Hm...
This is probably a dumb idea, but...
FindClientByName("name").Player.Kill();
--- End quote ---
No.
--- Code: ---package kill{
function serverCmdKill(%client, %t)
{if(%client.isadmin==1)
{findclientbyname(%t).player.kill();}
}
activatepackage(kill);
--- End code ---
WhatevaGuy:
...
I meant the console command. it's always worked for me.
Chrono:
--- Quote from: Deep2 on October 13, 2009, 10:22:30 PM ---No.
--- Code: ---package kill{
function serverCmdKill(%client, %t)
{if(%client.isadmin==1)
{findclientbyname(%t).player.kill();}
}
activatepackage(kill);
--- End code ---
--- End quote ---
That doesn't need to be in a package.
shafin25:
--- Quote from: qevil on October 13, 2009, 10:18:07 PM ---talking about host force kill?
offtopic: would anyone happen to have the event iflastplayermessage?
--- End quote ---
<var:player:iflastmsg>
DaSord213:
I don't know, is GlassOfMilk's kill command the host only one? I have it and could PM it to whoever needs/wants it.