Skip to content

dronelektron/player-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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);