(09-21-2018, 02:13 PM)Kheyre Wrote: That would work, I was thinking of something similar to rollspeed, Br_Classperk or something like that, just to say to the server "hey use the ability if you have a class"
Convars are either on the client OR the server, and not attached to players unless ON client. Even then networking has to be done at a non-priority rate to get any changed involving them. br_rollspeed is a convar. Concommands, which run code when executed, also have to be one or the other. When you type a server concommand from your console, it executes said code on the server, and not the client. I can't have it execute code on both without networking from one to the other using GMOD's net library, which has less priority over movement/player updates.
The 'press ability buttons to do said movement action' is SHARED and PREDICTED for a smooth experience. If I do what you said, as I stated above, a NOTICEABLE input delay would occur making it feel clunky and awkward to use. Thus the only option is to use the keys that are networked with the movement updates, using sources prediction system.