Blockland Forums > Modification Help
Self Delete.
Pages: (1/1)
MrPickle:
I need to add an if into the Self Delete thingy but i dunno how to add the skull into the text.
Aloshi:
--- Code: ---package NewSelf Delete {
function ServerCmdSelf Delete(%client)
{
//add your if here
parent::ServerCmdSelf Delete(%client); //Leave this in here, it continues with the old function
}
};
activatepackage(newSelf Delete);
--- End code ---
MrPickle:
Ahh thanks. I forgot about the parent thingy.
Pages: (1/1)