AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Player Spawns (https://forums.alliedmods.net/showthread.php?t=136692)

noodleboy347 08-29-2010 02:02

[ANY] Player Spawns
 
1 Attachment(s)
Player Spawns

Description
Allows players to set and clear their own spawn point. Additionally, admins can set and clear the spawn points of others.

Commands
  • sm_setspawn - Set your own spawn location.
  • sm_clearspawn - Clear your own spawn location.
  • sm_setplayerspawn <player> - Set spawn location of another player.
  • sm_clearplayerspawn <player> - Clear spawn location of another player.

Cvars
  • sm_playerspawns_enable <1> - Enables the plugin.
  • sm_playerspawns_version - Plugin version.

Todo
  • Enable/disable cvar
  • Admin-only cvar

Notes
Changelog
  • Version 1.13 [8/9/12]
    -Fixed plugin not working
  • Version 1.12 [9/17/10]
    -Fixed players setting spawn while dead/spectating
  • Version 1.11 [8/29/10]
    -Fixed enable cvar issue
  • Version 1.1 [8/29/10]
    -Added sm_playerspawns_enable
    -Replaced ReplyToCommand with ShowActivity2
  • Version 1.0 [8/28/10]
    -Initial release

Snaggle 08-29-2010 02:44

Re: [ANY] Player Spawns
 
Works great, thanks for doing this Noodle :D

noodleboy347 08-29-2010 03:41

Re: [ANY] Player Spawns
 
Glad to hear it

Afronanny 08-29-2010 14:24

Re: [ANY] Player Spawns
 
You may want to add a cvar to toggle whether or not players can set their own spawn points. Also consider using ShowActivity2 when an admin sets a player's spawn point, just to make it easier for server owners to deal with any abuse of this.

noodleboy347 08-29-2010 16:38

Re: [ANY] Player Spawns
 
Quote:

  • Version 1.1 [8/29/10]
    -Added sm_playerspawns_enable
    -Replaced ReplyToCommand with ShowActivity2


Afronanny 08-29-2010 19:57

Re: [ANY] Player Spawns
 
Check lines 51, 62, 77, 116

PHP Code:

if(cEnabled

should be
PHP Code:

if (GetConVarBool(cEnabled)) 


noodleboy347 08-30-2010 01:52

Re: [ANY] Player Spawns
 
Quote:

Originally Posted by Afronanny (Post 1285650)
Check lines 51, 62, 77, 116

PHP Code:

if(cEnabled

should be
PHP Code:

if (GetConVarBool(cEnabled)) 


Derp

How could I forget that, thanks

Quote:

  • Version 1.11 [8/29/10]
    -Fixed enable cvar issue


Afronanny 08-30-2010 17:33

Re: [ANY] Player Spawns
 
Looks good, have fun

L4DHelp 09-17-2010 12:38

Re: [ANY] Player Spawns
 
can someone update this plugin? people on my server are using this in spectator mode to get into enemy bases...

noodleboy347 09-17-2010 23:48

Re: [ANY] Player Spawns
 
Sorry for not doing this earlier, I am indeed a lazy person
  • Version 1.12 [9/17/10]
    -Fixed players setting spawn while dead/spectating


All times are GMT -4. The time now is 13:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.