Skip to content

dronelektron/sm-player-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Player resize

Allows you to change the size of the players

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> - 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"]

API

Resize the client to scale

native void Player_Resize(int client, float scale);