Author Topic: Error loading Client_FTC.zip need to handle this better...  (Read 542 times)

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.
« Last Edit: July 18, 2011, 01:16:14 PM by mp7964 »

it has to be a .zip, not a .rar.


echo("Flushed Texture Cache");
You need quotes there or it will give a syntax error.

commandtoserver('messageall',"<color:ffffff>Flushed Texture Cache.");
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);