Thread: SurfTools
View Single Post
Author Message
Fredd
Veteran Member
Join Date: Jul 2007
Old 08-24-2007 , 14:53   SurfTools
Reply With Quote #1

SurfTools Ver 1.6

Every CSS server that runs surf maps i been too, simply runs CSDM just to respawn people....so i made this to help out, it's really simple and small

Cvars

st_enabled - 1 = Enabled, 0 Disabled(You should never touch this cvar, the plugin will auto dected if the map has surf in it's name and enable it, if not it will be disabled)
st_respawn - 1 = enable respawn, 0 = disable respawn...
st_respawntime - Respawn delay time(Def = 5)
st_noblock - 0\1 Blocking is off\on(Def 1 = on)
st_sptime - Amount in seconds that a user will be spawn protected for(Def 5)
st_spawnweapon - weapon name to give on spawn, please use valid weapon names, (Def "weapon_scout")
st_bhoppush - (BunnyHop)The forward push when you jump(Def 1.0)
st_bhopheight - (BunnyHop)The upward push when you jump(Def 1.0)
st_surfcvars - 1= change server cvars to suitbal surfing, 0 disabled(Def 1)*Note: mapchang required for this to take effect.

Commands
respawn or /respawn - This command will respawn you if you just connected and your dead(note if your not on a team or alive this command will not work)

ChangeLog

1.0 Intial Release
1.1 No more trigger hurt kills, player will be respawn instead
1.2 Remvoed StartHp and Armor because of RPG
1.2B fixed the wrong of way of closing timers.. and added a server cvars convar...
1.3:
  • Did some major cleaning up and fixing.
  • removed the no trigger hurt kills since it didnt work, i gotta wait till 1.1 is released and then i could use a TakeDamage hook...
  • fixed the knifes and scouts issue where they are all over spawn..
1.4:
  • All handle errors should be fixed now
  • no more need for the v func to respawn players thx to CS_RespawnPlayer^^
1.5:
  • yeah there was more timers issues, now fixed and improved timers overall
  • added st_spawnweapon to give a player a weapon on spawn, must use valid names.
  • while playing around with timers, i found out that if you spawn and kill your self(suicide) before spawn protection the next round your spawn protection timer will change..this will prob not be fixed because 'who kills their selfs when they spawn"
1.6: added cvar to control respawn..

Credits

Dalto:Bug Fixes and stupid syntax problem
sumguy14: BunnyHop Plugin
sslice: No Block Plugin & the Cvars Hook when they are changed..
bl4nk: some timers fixes
Attached Files
File Type: sp Get Plugin or Get Source (SurfTools.sp - 15590 views - 7.4 KB)
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!

Last edited by Fredd; 08-21-2008 at 01:40.
Fredd is offline