Plugin Author: m0skVi4a ;]
Plugin Name: SurfMod
Plugin Version: 1.4
Modification: Counter - Strike
Category: Gameplay
Description:
This plugin change the Counter - Strike 1.6 classic style to Surf. The plugin have help, respawn, spawn protection, semiclip system and timer.
Commands:
say /surfhelp
say_team /surfhelp
to show the Surf Mod help MOTD
say /respawn
say_team /respawn
to respawn you
say /surftimer
say_team /surftimer
to open surf timer menu
CVARS:
"surf_on" - Is the plugin on(1) or off(0). Default: 1
"surf_help" - Is the surf help on(1) or off(0). Default: 1
"surf_help_mes" - In how many seconds to display the surf help message. Default: 120.0
"surf_respawn" - Is the respawning on(1) or off(0). Default: 1
"surf_respawn_command" - Is the say /respawn command on(1) or off(0). Default: 1
"surf_respawn_time" - Time in seconds after dead to respawn. Default: 1.5
"surf_sp" - Is the spawn protection on(1) or off(0) Default: 1
"surf_sp_time" - How many seconds is the protection. Default: 5.0
"surf_semi" - Is the semiclip on(1) or off(0). Default: 1
"surf_timer" - Is the surf timer on(1) or off(0). Default: 1
"surf_timer_hud" - Time in seconds after Stop timer to stop timers hud. Default: 10.0
Alll CVARS are without quotes
Credits:
m0skVi4a ;] - for the idea and making the plugin
ConnorMcLeod - for his Semiclip plugin
SpeeD - for his Spawn Protection plugin and testing the plugin
L@m3r40 =] - for ideas and testing the plugin
SGT -for ideas for the plugin
Changelog:
August 11, 2011 - v1.0 - First Release -
Never released in Alliedmodders
August 21, 2011 - v1.1 - Changed semiclip method, added Universal Timer, added code styling, small optimization. -
Never released in Alliedmodders
September 26, 2011 - v1.2 - Fixed some bugs
October 1, 2011 - v1.3 - Litle optimization, added multilingual file, SurfMod Help MOTD is in CSTRIKE dir, Fixed bug that don't spawns you when connect, added "surf_respawn_command" cvar.
October 2, 2011 - v1.3 FIX 1 - Fixed bug respawn on connect when plugin is off, there are merge some features in the semiclip
October 2, 2011 - v1.3 FIX 2 - Fixed bug that don't spawns you when connect
November 8, 2011 - v1.3 FIX 3 - Fixed bug that don't spawns you when connect
November 27, 2011 - v1.4 - Changed somethings in the plugin for more functional work, Surf Timer is mainly changed, Changed respawn on connect method
Moduls:
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <fun>
#include <hamsandwich>
Libraries:
PHP Code:
#include <amxmisc>
You don't have to add any CVARS anywhere. There is a surfmod.cfg that stands in the configs dir. You can edit it.
surfmodhelp.txt stands in cstrike dir
This plugin is tested on AmxModX 1.8.1 and it works properly!!!