Uploading new version
13.0413 (
0105). It is attached to this post, and will soon replace the version in the first post in this thread. Changes include:
- Majorly revised code, reduced duplicate code, made certain things make more sense to me. Thank you 11530!
- Added (Client != 0) check.
- Changed sm_friendly_slap to sm_friendly_punish_hostile
- sm_friendly_punish_hostile has new function, and a new default value of -1.
- Added cvar sm_friendly_punish_friendly. Same function as sm_friendly_punish_hostile, but punishes players entering friendly mode. This will help prevent players from attacking others, then becoming immune to retaliation.
- Punishments for changing modes do not apply if the mode change was made upon respawning.
- If a mode change results in suicide due to sm_friendly_punish_hostile or sm_friendly_punish_friendly being negative, the mode change will carry over to the next life, regardless of the value of sm_friendly_remember.
- Temporarily removed debug command