How do I add a function to a plug-in

Started by PSL, Jul 07, 2024, 04:28 PM

Previous topic - Next topic

PSL

I think in...squirrel04rel64.dll To add some functions.
I successfully compiled through the source code, but I do not know how to add a custom function in the source code, I want to add a function to disable the player key in the source code, how should I write?

vitovc

interaction with player's game of plugin is limited by VCMP API. You can detect keypress event but disable that.
...::: vice city :::...
Useful things for vcmp: Relative position and finding an angle (in 3d), 3d line (like laser)