Raised This Month: $ Target: $400
 0% 

nexmap help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joka69
Senior Member
Join Date: Apr 2005
Old 10-16-2005 , 22:14  
Reply With Quote #1

lol sry .Even if i could just make it say "The nextmap has not yet been voted for" ,then when the map has been voted it will display the nextmap.The one that comes with amxx wehn you type nextmap it just says the map your are playing.
Code:
new inprogress=0 new bool:mselected = false public sayNextMap(id){    new timeleft = get_timeleft()    new time2=timeleft-timeleft%60    new minutesleft=floatround(float(time2)/60.0)    new mapname[32]    get_mapname(mapname,31)    new smap[32]    get_cvar_string("amx_nextmap",smap,31)    if(minutesleft>=2&&!mselected)       client_print(0,print_chat,"A Vote Will Occur For The Nextmap In %d %s ",(minutesleft==3||minutesleft==2)?timeleft-100:minutesleft-2,(minutesleft==3||minutesleft==2)?"seconds.":"minutes.")    else    if(mselected)       client_print(0,print_chat,"Players have voted for %s...Map change is in %d seconds",smap,timeleft)    else       if(inprogress)          client_print(0,print_chat,"Current map is %s.  Voting is in progress for nextmap...",mapname)    return PLUGIN_HANDLED }
__________________
joka69 is offline
Send a message via MSN to joka69
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 23:44.


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