Compare commits

...

4 Commits

Author SHA1 Message Date
Ulu Kyn 810976f843 Merge branch 'main/gingo-test' into self-kill 3 years ago
Ben Saine 8c812ece15 self kill command 3 years ago
Ben Saine f998633767 Revert "self kill command"
This reverts commit 00597f9b18
3 years ago
Ben Saine 00597f9b18 self kill command 3 years ago

@ -408,6 +408,18 @@ NLMISC_COMMAND(afk, "Set the player as 'away from keyboard'","[<custom text>]")
return true;
}
NLMISC_COMMAND(selfkill, "Kill the player ","")
{
CBitMemStream out;
if(!GenericMsgHeaderMngr.pushNameToStream("COMMAND:SELFKILL", out))
{
nlwarning("Unknown message name COMMAND:SELFKILL");
return false;
}
NetMngr.push(out);
return true;
}
bool randomCheckCharset(std::string const& str)
{
std::string::const_iterator it, itEnd = str.end();

Loading…
Cancel
Save