Author Topic: Deleting a clone  (Read 3202 times)

my cigarette system for my server

wow, that is frustratingly homoloveual.

Yeah, it's called "Tricigarette".


I finally got around to fully testing Ephi's, I discovered it makes the player's names disappear, any way to stop this?

Never mind, after screwing around I figured it out.
« Last Edit: December 15, 2007, 02:44:40 AM by VerticalHorizon »

You just add the %client.spawnPlayer(); after the %client.createPlayer();.  Cuz the %client.createPlayer(); spawns you at the 0 0 0 position.

Here's the VH Death for any one who wants it, it requires Fooly Fun Commands, the code is really messy but it works for me.

Code: [Select]
//VH Death////////////////////////////////////////////////////////////////////
function serverCmdSelf Delete(%client)
{
schedule(50,10,serverCmdvhdeath1,%client);
messageAll('messageSent',"" @ %client.name @ " \c6took the emo way out.");
schedule(2000,50,serverCmdvhdeath2,%client);
}

function serverCmdvhdeath1(%client)
{
%client.player.playThread(1,crouch);
schedule(0,10,serverCmdskeleme,%client);
}

function serverCmdvhdeath2(%client)
{
%cloneName = %client.name;
%clone = %client.player;
    %client.player.setShapeName(%cloneName @ "'s corpse");
%client.createPlayer();
%client.spawnPlayer();
schedule(100,10,serverCmdnormalme,%client);
%client.player.playThread(1,root);
    %client.player.setShapeName(%clone.name);
%clone.schedule(20000,"removeBody");
}
////////////////////////////////////////////////////////////////////////////