View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-05-2011 , 11:06   [Any] Return Trip
Reply With Quote #1

[Any] Return Trip
Plugin Version 1.1.1



Description:
This is just a quick plugin that returns a player or players to their respective spawn locations.
Useful for surf servers, jump maps, etc.

Commands:
  • sm_returntrip <target>
  • sm_return2spawn <target>

Cvars:
  • sm_return_trip_version
    • Plugin Version

Install Instructions:

  1. Place ReturnTrip.smx into your addons/sourcemod/plugins/ folder.
Notes:
  • In TF2 the plugin will refill the player's health and ammo using TF2_RegeneratePlayer.
To Do:

Let me know if you want these features, otherwise they won't happen!

  • Add a sound effect and cvar.
  • Add a offset cvar to change how high off the respawn floor the player is teleported.
  • Add a command for clients to return themselves (For surf/jump maps) and a cvar to enable/disable the command.

Version History:
  • V1.0.0
    • Initial Release
  • V1.1.0
    • Added game detection so one version now works for all games.
      - Multi-mod version removed as it is no longer needed.
  • V1.1.1
    • Made the TF2 extension optional.
Total downloads as prior to last edit: 46
Attached Files
File Type: sp Get Plugin or Get Source (ReturnTrip.sp - 1021 views - 2.4 KB)
__________________

Last edited by DarthNinja; 09-04-2011 at 09:07.
DarthNinja is offline