Author Topic: Execute Client Cmd  (Read 928 times)

How would I make a client 'do' a client cmd? Like crouch(); for example.
Also: what's the cmd for client timescale?

Thanks!

How would I make a client 'do' a client cmd? Like crouch(); for example.
There is not a way to force a client to crouch that I have seen or heard of.
Also: what's the cmd for client timescale?
clientCmdTimescale(scale).

You can call clientCmds on the server side with commandToClient(%client, 'CmdName', %arg1, %arg2,[... %argN]);

How would I make a client 'do' a client cmd? Like crouch(); for example.
crouch(1); Simple as that.

crouch(1); Simple as that.

He's talking about a server having a client perform an action.


He's talking about a server having a client perform an action.
He never said that.

He never said that.

How would I make a client 'do' a client cmd? Like crouch(); for example.
Also: what's the cmd for client timescale?

Thanks!
You can call clientCmds on the server side with commandToClient(%client, 'CmdName', %arg1, %arg2,[... %argN]);

You can't make the client call crouch();

You can't make the client call crouch();

There is not a way to force a client to crouch that I have seen or heard of

I think you can play the crouching animation though but that still isnt crouching.

It has to do with the way it's networked, as you notice things like yaw() and roll() are not called as serverCmds and have special purposes.

to crouch in console type crouch(1); to stop crouching type crouch();
to jump forever type jump(1); and to stop type jump();
to only walk not run type walk(1); to run again type walk();

to crouch in console type crouch(1); to stop crouching type crouch();
to jump forever type jump(1); and to stop type jump();
to only walk not run type walk(1); to run again type walk();
Shut up. Stop putting your crappy knowledge into everything.