NotAvailable Posted June 27, 2011 Share Posted June 27, 2011 Hello, I'm creating a gamemode, But i have 1 problem. How to show votemanager when everybody is dead? Could someone help meh? Thanks. Regards, Jesseunit Link to comment
SDK Posted June 27, 2011 Share Posted June 27, 2011 You can use the mapcycler to deal with it, put it in vote mode and you can trigger it when everyone died using triggerEvent("onRoundFinished", getResourceRootElement(getThisResource())) https://wiki.multitheftauto.com/wiki/Resource:Mapcycler Another way is to make a custom poll with your own (randomly) chosen maps. You create a table with all the options you want, and start it using exports.votemanager:startPoll ( polltable ). https://wiki.multitheftauto.com/wiki/Res ... otemanager Link to comment
NotAvailable Posted June 27, 2011 Author Share Posted June 27, 2011 You can use the mapcycler to deal with it, put it in vote mode and you can trigger it when everyone died using triggerEvent("onRoundFinished", getResourceRootElement(getThisResource())) https://wiki.multitheftauto.com/wiki/Resource:Mapcycler Another way is to make a custom poll with your own (randomly) chosen maps. You create a table with all the options you want, and start it using exports.votemanager:startPoll ( polltable ). https://wiki.multitheftauto.com/wiki/Res ... otemanager Alright. Thanks dude! 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