[TF2] No Fall/Self Damage
Version 2.0
Description:Enable / disable fall/self damage for yourself or other players
Dependency:- SDKHooks
ConVars:- sm_nofalldamage (default: 0) - When 1, disable the fall damage globally
- sm_noselfdamage (default: 0) - When 1, disable the self damage globally
Commands:- console: sm_nofall <client> <1/0> OR sm_nofall (give yourself)
- in chat: /nofall <client> <1/0> OR /nofall (give yourself)
- in chat: !nofall <client> <1/0> OR !nofall (give yourself)
- console: sm_noself <client> <1/0> OR sm_noself (give yourself)
- in chat: /noself <client> <1/0> OR /noself (give yourself)
- in chat: !noself <client> <1/0> OR !noself (give yourself)
Examples:sm_nofall - Toggles fall damage on the admin running the command
sm_nofall @all 1 - Turns off fall damage for all players
sm_nofall @all 0 - Turns on fall damage for all players
sm_noself - Toggles self damage on the admin running the command
sm_noself @all 1 - Turns off self damage for all players
sm_noself @all 0 - Turns on self damage for all players
Cvars:sm_nofall_version - Plugin Version
Note: The default admin level for the commands is "slay", but the admin level for targeting other players is "ban".
This is for if you want all admins to have sm_nofall access, but only higher level admins to be able to target other players.
Install Instructions:- Place nofall.smx into your addons/sourcemod/plugins/ folder.
Changelog:- 1.0 (2011. Dec. 13.)
- First release
- 2.0 (2011. Dec. 15.)
- Fixed: No longer disable the fall damage by default
- Added sm_nofalldamage convar to disable fully the fall damage
- Added feature to disable self damage too: sm_noself (or /noself) and sm_noselfdamage convar
Note:
- The SMX compiled under 1.4.1-dev
- You need to download the .sp file, if you want to compile it