Sunucu tanitimi
History

CSB Map Spawn Editor lets an admin build a custom spawn list from inside the game — handy for DM and CSDM-style maps that need spawns the mapper never placed. say /addspawn records your current origin and view angles, say /delspawn removes the closest saved point, say /savespawns writes the list, and say /listspawns reports the count.

Spawns are stored per map in the AMXX data directory (csb_spawns_<map>.txt) and reloaded on map start. On respawn, a Ham_Spawn post hook teleports the player to a random saved point with engfunc(EngFunc_SetOrigin), sets their view angles and zeroes their velocity. Inspired by the CSDM spawn editor by BAILOPAN; independent GPL re-implementation.

Features

  • /addspawn, /delspawn, /savespawns, /listspawns — admin only.
  • Per-map storage under the AMXX data directory, up to 64 points.
  • Random custom spawn applied on every respawn (toggle with csb_spawn_override).
  • View angles restored and residual velocity cleared on teleport.

Installation

  1. Compile csb_map_spawn_editor.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.
  3. Walk to each spot, type /addspawn, then /savespawns.

The editing commands need the ADMIN_MAP flag (e).