Blockland Forums > Modification Help
Save command doesn't work. Please help.
otto-san:
you people aren't helping.
Stolen from getHex
--- Code: ---package stupid
{
function NMH_Type::Send(%this)
{
if(%this.getValue() $= "/stupid")
{
NewChatSO.addLine("\c6hi.");
canvas.popDialog(NewMessageHud);
return;
}
Parent::Send(%this);
}
};
--- End code ---
Fatcorny:
--- Quote from: otto-san on August 10, 2010, 04:41:18 PM ---you people aren't helping.
Stolen from getHex
--- Code: ---package stupid
{
function NMH_Type::Send(%this)
{
if(%this.getValue() $= "/stupid")
{
NewChatSO.addLine("\c6hi.");
canvas.popDialog(NewMessageHud);
return;
}
Parent::Send(%this);
}
};
--- End code ---
--- End quote ---
How does THAT help!??!
Destiny/Zack0Wack0:
saveBricks is a server-sided command, as mentioned by kronos.
Chrono:
--- Quote from: Destiny/Zack0Wack0 on August 10, 2010, 06:04:02 PM ---saveBricks is a server-sided command, as mentioned by kronos.
--- End quote ---
No, but serverCmdSave, gameconection::onClientSpawn, and messageClient are.
Edit: Wait, gameconection::onClientSpawn isn't even a function.
Destiny/Zack0Wack0:
I thought saveBricks is the server-sided function included with RTB.
Doesn't matter anyway, you're still mixing server-sided code with client-sided code.