ALw7sH Posted February 12, 2014 Share Posted February 12, 2014 hello, what is the probelm in this code? addEvent('midMapRestartVoteResult') addEventHandler('midMapRestartVoteResult', getRootElement(), function( votedYes ) -- Change state back if stateAllowsRandomMapVoteResult() then gotoState('Running') if votedYes then triggerClientEvent ( "setNextMap", getRootElement(), exports.mapmanager:getRunningGamemodeMap() ) else displayKillerPunchLine() end end end ) debugscript : ERROR: Server triggered clientside event setnextmap, but event is not added clientside Link to comment
Castillo Posted February 12, 2014 Share Posted February 12, 2014 Post the client side script. Link to comment
ALw7sH Posted February 12, 2014 Author Share Posted February 12, 2014 Post the client side script. this code in racevoting_server in gamemode idk where is the client 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