Raised This Month: $ Target: $400
 0% 

Map redirection


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
over_mind
Member
Join Date: Aug 2006
Location: Cajun Country!
Old 11-15-2006 , 04:45   Map redirection
Reply With Quote #1

(This is for a TSRP server) Hello I'm trying to use this plugin to change the map to mecklenburgv3_b1 whenever it is on ts_lobby. However it makes some errors, here is the plugin:

Code:
#include <amxmodx>

public plugin_init()
    {
    register_plugin("Map Redirection","1.0","TSRP")
    
    new mapname[32]
    get_mapname( mapname, 31 )
    
    if( equali( mapname, "ts_lobby" ) ) server_cmd( "map mecklenburgv3_b1" )
    return PLUGIN_HANDLED
}
When the server starts up and it switches to mecklenburgv3_b1, it shows this in the console:







What do these metamod messages mean? And also they are lagging the server when it runs, it makes the ping go all the way in the thousands.
over_mind is offline
Send a message via AIM to over_mind Send a message via MSN to over_mind
 


Thread Tools
Display Modes

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:51.


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