Skip to content

dronelektron/player-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b23c0de · Jun 12, 2024

History

45 Commits
Jun 12, 2024
Oct 20, 2023
Oct 16, 2023
Oct 16, 2023
Jun 12, 2024
Oct 16, 2023

Repository files navigation

Player resize

Allows you to resize the player

Supported Games

  • Day of Defeat: Source

Requirements

Installation

  • Download latest release
  • Extract plugins and translations folders to addons/sourcemod folder of your server

Console Commands

  • sm_resize <#userid|name> <scale> [mode] - Resize the player

Console Variables

  • sm_playerresize_pitch_enable - Change (off - 0, on - 1) pitch depending on model scale [default: "1"]
  • sm_playerresize_pitch_log_base - Logarithm base for pitch [default: "2.0"]
  • sm_playerresize_pitch_log_factor - Logarithm factor for pitch [default: "20.0"]

Resize Mode

  • Until death (during the round) - 1
  • Until round end - 2
  • Until round start - 3
  • Until disconnect - 4 (default)

API

Resize the client to scale using resizeMode

native void ResizePlayer(int client, float scale, int resizeMode);