Raised This Month: $ Target: $400
 0% 

[REQ] Late join


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 07-08-2011 , 10:27   [REQ] Late join
Reply With Quote #1

Hi,

What it should do:
Spawn people that connect, even after a couple of minutes.

Extra:
An advert if the plugin is enabled that tells people there are going to be late spawned in "x" seconds.

NOTICE:
If people rejoin it shouldn't spawn them

It should work for css, but i'm sure it will work for many other games.

Last edited by Groger; 07-08-2011 at 14:03.
Groger is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 07-09-2011 , 07:16   Re: [REQ] Late join
Reply With Quote #2

That's quite useful.

The attached plugin comes with the following convars:

  • sm_latejoin_version - ..
  • sm_latejoin_enable - Spawn late joining players? (Default: 1)
  • sm_latejoin_spawnafterroundstart - How many seconds after roundstart should latejoining players be spawned? (Default: 180)
  • sm_latejoin_spawndelay - How many seconds after the teamjoin should we spawn the player? (Default: 5)
It saves, which players already played in the current round and won't respawn them twice - even after reconnect. The player is informed in chat, that he's going to be spawned in x seconds or, if he already played this round, that he won't be spawned because of that.

This plugin doesn't slay players reconnecting and getting spawned during the early round start.

Have fun!
Attached Files
File Type: sp Get Plugin or Get Source (latejoinspawn.sp - 283 views - 6.1 KB)
__________________
Peace-Maker is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 07-09-2011 , 09:27   Re: [REQ] Late join
Reply With Quote #3

Youre awsome peacemaker. I'll let you know if we run into some bugs.
Groger is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 07-17-2011 , 17:25   Re: [REQ] Late join
Reply With Quote #4

Allright the only bug we could find is:

If you join terrorist you see the page to choose a player model, if you wait x seconds you wil respawn because of the plugin, but than the menu to choose a player is still open. if you pick a player you will get slayed.

Thx again for this great plugin, our members are digging it!
Groger is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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