Not a true scripting help question, mostly a confirmation.
1.What I understood from the sdk:
sv_airaccelerate is linked with player movevars and when this cvar is changed engine will check if player movevars are the same as the cvar, and if not it will send a SVC_NEWMOVEVARS message to update them.
2.Then to be able to have custom airaccelerate I need to hook engine functions and block the game from changing itself "airaccelerate" movevar and send a SVC_NEWMOVEVARS with my custom one.
I think I need to write my custom movewar when the player is fully on the server, then to check in SV_SetMoveVars when game try to change them, to block the function which send the message SV_WriteMovevarsToClient and to send my message in SV_QueryMovevarsChanged hooked as post ?
Or just using PM_AirMove will do the trick ?
Is this correct ?