Blockland Forums > Modification Help

Save command doesn't work. Please help.

Pages: << < (2/4) > >>

Headcrab Zombie:

Another problem I noticed : clientCmds don't have a %client argument in the declaration, only when the server calls it.


--- Code: ---function clientcmdSave(%name)
{
saveBricks("saves/saveCommand/" @ %name @ ".bls", 1, 1);
NewChatHud_AddLine("Saved to" @ %name @ ".bls");
}
--- End code ---
You still won't be able call it with a /command though
I'm not sure if you can get the brickcount clientside.

Unless Truce's addon requires the command to be a clientCmd, you can just name it save instead of clientcmdsave

Desolation:


--- Quote from: Fatcorny on August 10, 2010, 11:14:59 AM ---Content copyright © 2010 MJ Studios LLC., and is protected from copying.

--- End quote ---
Why is it that there isn't any documentation for a copyright under this name, and why in the hell would you try and copyright 13 lines of code.

Fatcorny:

I KNOW the problem, just, can anyone FIX this, in a way that it'll work.

Wizard:

You don't even have rights to this code anyway. Anything you make for this game is badspot's.

Chrono:


--- Quote from: Fatcorny on August 10, 2010, 11:14:59 AM ---(This is a client-sided mod)

--- End quote ---
Here is the problem.

Pages: << < (2/4) > >>

Go to full version