Raised This Month: $ Target: $400
 0% 

show next map ---> show current map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
5aloOod
Senior Member
Join Date: Jun 2013
Location: hell
Old 03-26-2014 , 00:29   show next map ---> show current map
Reply With Quote #1

Hello everyone
this code shows in hud message the next map and i want help from you guys to make it shows the current map
Code


line i think that will be edited, line 1717


lang file


screenshot for hud message


thanks for your attention
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
5aloOod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-26-2014 , 06:40   Re: show next map ---> show current map
Reply With Quote #2

tl;dr

I'm guessing you didn't try hard enough.

Also, don't copy and past an entire plugin into your post. Simply post a link to the original thread here. If it isn't posted here, attach the plugin (the .sma file) to your post.

What specific thing are you having issues with?
__________________
fysiks is offline
5aloOod
Senior Member
Join Date: Jun 2013
Location: hell
Old 03-26-2014 , 11:34   Re: show next map ---> show current map
Reply With Quote #3

ops sorry wrong section
i was requesting to edit the code
not facing issues
Move this Thread to Suggestions / Requests,please
Or trash it so i can make new Thread in Suggestions / Requests
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
5aloOod is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 03-26-2014 , 16:27   Re: show next map ---> show current map
Reply With Quote #4

Code:
get_cvar_string("amx_nextmap", NextMap, 31)
->
Code:
get_mapname(NextMap, 31)

If you want it to say "Current Map: %s" you have to edit the message, removing multilingual or just change the dictionary file to your liking.
The best way would perhaps be to add a new line saying "CMAP = Current Map" and switch the message for that one. At least that is something I would consider "clean".
__________________

Last edited by Black Rose; 03-26-2014 at 16:28.
Black Rose is offline
Reply


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


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