Blockland Forums > Modification Help
Error loading Client_FTC.zip need to handle this better...
Pages: (1/1)
mp7964:
All the script is is basically a function which does
flushtexturecache();
echo(Flushed Texture Cache);
commandtoserver('messageall',"<color:ffffff>Flushed Texture Cache.");
Do I need to add something to the code, or am I missing something?
(This was an old topic I modified, ignore the first 2 replies c:)'
edit: Come on, help, slow board :c.
otto-san:
it has to be a .zip, not a .rar.
mp7964:
Oh.. Derp. Thanks.
Headcrab Zombie:
--- Quote from: mp7964 on July 18, 2011, 12:50:16 PM ---echo("Flushed Texture Cache");
--- End quote ---
You need quotes there or it will give a syntax error.
--- Quote from: mp7964 on July 18, 2011, 12:50:16 PM ---commandtoserver('messageall',"<color:ffffff>Flushed Texture Cache.");
--- End quote ---
Nope. Looks like your trying to mix clientside and serverside code there.
if you're trying to tell everyone in the server (which for this I wouldn't recommend because no one gives a stuff and you'll end up annoying them if you keep doing it) the code is
for serverside:
messageAll('','message');
for clientside:
commandtoserver('messagesent','message');
What you would want in this case is something to message only yourself, something like
clientCmdChatMessage(dont know arguments here and too tired to dig them up);
or even
clientCmdCenterPrint("message",3);
Pages: (1/1)