justn Posted August 1, 2014 Share Posted August 1, 2014 (edited) Hey guys, so i made a voteredo script, but there's 1 small thing I need help with, when the player does /vr and it says 'map will be restarted' etc.. how do i make, when the map is restarted.. and the players try to do vr again.. it says 'Map is already restarted by voteredo' and then when the next map starts, the players can do /vr again .. ? ;P My code: CODE REMOVED -- Don't even try to steal it Edited August 2, 2014 by Guest Link to comment
Et-win Posted August 1, 2014 Share Posted August 1, 2014 Just use a variable like isMapRestarted and set it to true if the map has been restarted. Then when the map ends, set it back to false. Link to comment
justn Posted August 1, 2014 Author Share Posted August 1, 2014 Never really thought of that... eh, thanks 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