Jump to content

help : voteredo


ALw7sH

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...