Raised This Month: $ Target: $400
 0% 

[REQUEST] Last-Player-Mapchanger


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Grinf4ce
Senior Member
Join Date: May 2006
Old 11-11-2007 , 03:11   [REQUEST] Last-Player-Mapchanger
Reply With Quote #1

Hey there,
I'm requesting a plugin which change the map to a cvar specified map when the last Player (not bot, cause they dont go) left de Server.

Summary:
If only Bots or nobody on the server, change the map to a cvar specifed map.

Can someone help? :-)
Greets, Grinf4ce ;-)

Sorry for my bad english but I'm Austrian ;-D
__________________
Grinf4ce is offline
Old 11-11-2007, 13:22
RaYden
This message has been deleted by RaYden.
RaYden
Member
Join Date: Sep 2007
Old 11-11-2007 , 14:21   Re: [REQUEST] Last-Player-Mapchanger
Reply With Quote #2

Here u go
the idle map cvar is "amx_idlemap <mapname>"

if u have players with slower machines or the server is a slower machine set the set_task(5.0,"check") to something like this set_task(15.0,"check")
Attached Files
File Type: sma Get Plugin or Get Source (amx_idlemap.sma - 688 views - 875 Bytes)

Last edited by RaYden; 11-11-2007 at 16:07.
RaYden is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 11-11-2007 , 17:44   Re: [REQUEST] Last-Player-Mapchanger
Reply With Quote #3

Also Here
__________________
bmann_420 is offline
Grinf4ce
Senior Member
Join Date: May 2006
Old 11-12-2007 , 01:00   Re: [REQUEST] Last-Player-Mapchanger
Reply With Quote #4

Quote:
Originally Posted by RaYden View Post
Here u go
the idle map cvar is "amx_idlemap <mapname>"

if u have players with slower machines or the server is a slower machine set the set_task(5.0,"check") to something like this set_task(15.0,"check")
Simple and Good!
Works, thank you very much :-D

Karma+ for you!
__________________
Grinf4ce 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 06:01.


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