Raised This Month: $ Target: $400
 0% 

Help with nextmap scripting!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
VIDEN
Member
Join Date: Jul 2008
Old 08-02-2008 , 06:51   Help with nextmap scripting!
Reply With Quote #1

When you have mapchooser and nextmap (the standrard plugins) on you server. When you write nextmap its says de_dust2 maybe, and afther 20 minutes the mapvote comes and pepole vote on another map. I want that the nextmap should say A Vote will occur when time limit has ended. Afther the vote is should say Next map: de_cbble.

This is what i have: (First time i try to script)
PHP Code:
#if defined DISPLAY_MSG
public sayNextMap()
{
 new 
name[32]
 
 
getNextMapName(name31)
 
 if (
get_cvar_float("mp_timelimit"))
 {
  new 
timeleft get_timeleft()
 
  if (
timeleft 3)
  {
          
client_print(0print_chat"%L %s"LANG_PLAYER"NEXT_MAP_MSG")
  } else {
          
client_print(0print_chat"%L %s"LANG_PLAYER"NEXT_MAP"name)
  }
 }
}
#endif 
Sry for bad english.

Last edited by VIDEN; 08-02-2008 at 06:55.
VIDEN is offline
 


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 05:34.


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