View Single Post
Plugin Info:     Modification:          Category:          Approver:   Zenith77 (33)
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 02-03-2008 , 23:38   Player Spawn Utility
Reply With Quote #1

Read the code snippet for the plugin information:

Note: I also attached spawn coords for all of the default maps so you don't have to

PHP Code:
/*    =============================================
*    - NAME:
*      + Player Spawn Utility
*
*    - DESCRIPTION:
*      + This plugin lets you easily add more player spawn points to any map at the position you are standing.
*      + In the menu it will let you know how many spawns are recommended for your server size (# of slots).
*      + After adding spawns you can save them and they will auto load on map start.
*      + Use the sv_spawneditor cvar to see where other spawns are so you know where to add new ones.
*
*      + NOTE: I made this because Hawks spawn creater was making spawns in bad places (outside of the map).
*
*    - USAGE:
*      + In your addons/amxmodx/configs directory make a new folder called "spawns".
*      + Now go in your server and turn the "sv_spawneditor" to "1".
*      + Restart the map. Now you will see where the current spawn points are.
*      + Type "amx_spawnmenu" in the console to load the spawn editor menu.
*      + Press "1" to add a Terrorist spawn, and "2" for a CT spawn. Press "3" to save spawns you made.
*      + Now turn the "sv_spawneditor" cvar back to "0", restart the map.
*
*    - CREDITS:
*      + Hawk552's Spawn Creater for ideas.
*
*    ---------------
*    Admin Commands:
*    ---------------
*    - Type in console 'amx_spawnmenu' to show the spawn editor menu.
*
*    -------------
*    Server cvars:
*    -------------
*    - sv_spawneditor <0/1>
*     + Setting to 0 will turn the spawn editor off.
*     + Setting to 1 will turn the spawn editor on (while on you can see all the spawn points).
*    
*    ----------
*    Changelog:
*    ----------
*    Version 1.0 (02-03-2008)
*    -- First version made and works.
*/ 
Attached Files
File Type: zip spawns.zip (9.0 KB, 4685 views)
File Type: sma Get Plugin or Get Source (spawnutility.sma - 6763 views - 10.0 KB)

Last edited by hlstriker; 02-03-2008 at 23:41.
hlstriker is offline