Giter Club home page Giter Club logo

sourcemod-playerspawns's Introduction

PlayerSpawns

Summary:

Allows players to respawn after death at a different location than the standard map spawn points using the sm_setspawn command. Once this command is invoked, the current player's location is stored as the new spawn point and saved for future respawns. The custom respawn point can be removed via the sm_clearspawn command after which further player spawns will be at the default map spawn points.

This plugin can be restricted for use only by admins by setting the sm_players_spawn_admin_only value to 1.

Some code adapted from almcaeobtac's Player Spawns plugin V1.2.

Compatibility:

  • Counter Strike: Global Offensive

Cvars:

  • sm_player_spawns_version = 1.4.0 (cannot be changed)
  • sm_player_spawns = 1 - Respawn players to their custom locations on death; 0 - disabled, 1 - enabled
  • sm_players_spawn_admin_only = 1 - Toggles Admin Only spawn saving; 0 - disabled, 1 - enabled

Cmds:

  • sm_setspawn
  • sm_setspawn <name>
  • sm_clearspawn
  • sm_clearspawn <name>

Installation:

  • playerspawns.smx into /addons/sourcemod/plugins

Changelog:

  • 1.4.0 (2015-02-01)

    • Add ability to set spawn of players groups via general targets (ie: @all, @ct, @t, @bots, @dead, @alive, etc.)
    • Add ability to copy a saved spawn point of a player to another player or player group's spawn point via sm_setspawn <player-to-replace-spawn> <player-to-copy-spawn-from>
  • 1.3.0 (2015-01-25)

    • Add admin ability to set the spawn location of other players via sm_setspawn <name>
  • 1.2.0 (2015-01-24)

    • Add restoration of player spawn angles when respawning players to their custom spawn location
  • 1.1.1 (2015-01-23)

    • Fix spawn points being reset for all players regardless of sm_player_spawns value
  • 1.1.0 (2015-01-21)

    • Add sm_player_spawns cvar to allow enabling/disabling custom spawn locations
  • 1.0.0 (2015-01-21)

    • Initial release

sourcemod-playerspawns's People

Contributors

davidyee avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.