ozy Posted June 25, 2021 Share Posted June 25, 2021 How can i make a nextmap info at bottom left when an admin set nextmap example: if there is no any setted nextmap then dont show the nextmap info Link to comment
SpecT Posted June 25, 2021 Share Posted June 25, 2021 (edited) Hello, I guess you are talking about Race gamemode. There are a few gamemodes uploaded on the community site with the ability to show the next map (if one is set). You can see how it's made and do it to your gamemode or use them instead. https://community.multitheftauto.com/index.php?p=resources&s=details&id=6008 https://community.multitheftauto.com/index.php?p=resources&s=details&id=12297 https://community.multitheftauto.com/index.php?p=resources&s=details&id=6048 Edited June 25, 2021 by SpecT Link to comment
ozy Posted June 25, 2021 Author Share Posted June 25, 2021 9 minutes ago, SpecT said: Hello, I guess you are talking about Race gamemode. There are a few gamemodes uploaded on the community site with the ability to show the next map (if one is set). You can see how it's made and do it to your gamemode or use them instead. https://community.multitheftauto.com/index.php?p=resources&s=details&id=6008 https://community.multitheftauto.com/index.php?p=resources&s=details&id=12297 https://community.multitheftauto.com/index.php?p=resources&s=details&id=6048 Thx bro i guess these might work for me Link to comment
ozy Posted June 25, 2021 Author Share Posted June 25, 2021 2 hours ago, SpecT said: Hello, I guess you are talking about Race gamemode. There are a few gamemodes uploaded on the community site with the ability to show the next map (if one is set). You can see how it's made and do it to your gamemode or use them instead. https://community.multitheftauto.com/index.php?p=resources&s=details&id=6008 https://community.multitheftauto.com/index.php?p=resources&s=details&id=12297 https://community.multitheftauto.com/index.php?p=resources&s=details&id=6048 well, unfortunately none of them worked. Link to comment
SpecT Posted June 26, 2021 Share Posted June 26, 2021 On 25/06/2021 at 22:03, ozy said: well, unfortunately none of them worked. What do you mean by not worked ? Link to comment
ozy Posted June 26, 2021 Author Share Posted June 26, 2021 I'm copied the nextmap codes in race modes you sent but none of them worked, debugscript was giving error at nametags.lua in my current race mode folder and stopping the race mode so i delete it, error has gone but race mode stopped working against. Link to comment
SpecT Posted June 27, 2021 Share Posted June 27, 2021 Well, you probably didn't copy everything. If I remember right the nextmap management is in racevoting_server.lua. And probably there are events to tell the client what the next map is. Link to comment
Hydra Posted June 27, 2021 Share Posted June 27, 2021 Look at the default race resource and see how it was made Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now