AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   show next map ---> show current map (https://forums.alliedmods.net/showthread.php?t=237546)

5aloOod 03-26-2014 00:29

show next map ---> show current map
 
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

fysiks 03-26-2014 06:40

Re: show next map ---> show current map
 
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?

5aloOod 03-26-2014 11:34

Re: show next map ---> show current map
 
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

Black Rose 03-26-2014 16:27

Re: show next map ---> show current map
 
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".


All times are GMT -4. The time now is 05:57.

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