Raised This Month: $51 Target: $400
 12% 

Current Map in Hostname


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 04-06-2007 , 14:03   Current Map in Hostname
Reply With Quote #1

Current Map in Hostname

A simple but useful plugin. Adds current map to hostname on map start.
Automatically removes the map from hostname at map end.
Attached Files
File Type: sma Get Plugin or Get Source (currentmap_in_hostname.sma - 1188 views - 831 Bytes)
__________________
anssik is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 04-07-2007 , 04:14   Re: Current Map in Hostname
Reply With Quote #2

nice, why don't use pcvars ?
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 04-07-2007 , 04:46   Re: Current Map in Hostname
Reply With Quote #3

It's easier this way since the hostname cvar already exists, and because the set/get cvar string functions are only called at the start and at the end of map, there is no problems with perfomance.
__________________
anssik is offline
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 04-09-2007 , 07:00   Re: Current Map in Hostname
Reply With Quote #4

why would you need this? it already tells you the map..
datwinkle is offline
Send a message via AIM to datwinkle
pizzahut
Senior Member
Join Date: Oct 2004
Old 04-09-2007 , 07:32   Re: Current Map in Hostname
Reply With Quote #5

I agree with datwinkle's constructive criticism.

The Steam server browser already tells you the map name, also the modifications which I know tell you the map name as you join a server and as the map changes.

So I'm not quite sure in which situation this plugin is useful?
__________________
My AMXX plugins (content date 2007-03-29, link check 2017-04-26)

Plugins for the Royston Vasey TFC server - These are UNSUPPORTED, except those which have been published at AMX Mod X.

Last edited by pizzahut; 04-09-2007 at 09:19.
pizzahut is offline
JVC
BANNED
Join Date: Apr 2007
Location: Indiana
Old 04-09-2007 , 07:41   Re: Current Map in Hostname
Reply With Quote #6

Good job.
JVC is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-09-2007 , 10:54   Re: Current Map in Hostname
Reply With Quote #7

True, redundant, unapproved.
VEN is offline
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 04-09-2007 , 14:46   Re: Current Map in Hostname
Reply With Quote #8

Yea when I got this idea I forgot that the Steam browser shows the map. lol
__________________
anssik 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 18:22.


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