__________________ Save Loc
Retains position, angle, and velocity data. Useful for practicing surf/rocket jump/bhop/etc
Information is temporary - removed on disconnect, map change, and toggle (if toggle is required by cvar).
Max of 14 saves client. To modify, edit MAX_RECENT_LOCS and recompile. New saves will remove oldest save.
Devs - See include file for plugin integration
sm_practice - Enable practice mode - only required if cvar is set
sm_sl - Save loc
sm_tl - Tele loc
sm_ml <optional:targetname> - Loc menu (Allows chosing from one of 10 recent saves)
sm_rl - Remove Loc - Opens menu to select a save to remove
sm_saveloc_requireenable "1" // Require the client activate a toggle before using commands?
sm_saveloc_onground "1" // Require the client to be on the ground while enabling practice toggle?
sm_saveloc_restoreontoggle "1" // Save and restore client location on toggle of practice command?
sm_saveloc_allowother "1" // Allows clients to use other players' saves?
sm_saveloc_forceteam "1" // Only allow client to use saves from players on their own team?
sm_saveloc_forceclass "1" // Only allow clients to use saves from players of their own class? (TF2)
sm_saveloc_wipeontoggle "1" // Should the plugin wipe saves on practice toggle?
sm_saveloc_wipeonteam "1" // Should the plugin wipe saves on team change?
sm_saveloc_wipeonclass "1" // Should the plugin wipe saves on class change?
sm_saveloc_customcolor "1" // Should the plugin use custom THEMECOLOR in messages? (TF2)
Example of plugin integration:
Ref 1 - Checking library
Ref 2 - Using a native
Ref 3 - Using a forward