Jump to content

Call Funktion Error


Recommended Posts

Hey Community,

Ich habe ein Problem mit meinem Map Script. Ich versuche die kompatiblen Maps mit meinem Gamemode via call zu erhalten. Jedoch erhalte ich immer folgende Fehler.


ERROR: call: failed to call 'mapmanager:getRunningGamemode'

ERROR: call: failed to call 'mapmanager:getMapsCompatibleWithGamemode'

Code: ( Clientside)

gmodes = call(getResourceFromName("mapmanager"), "getRunningGamemode") 
    local maps = call(getResourceFromName("mapmanager"), "getMapsCompatibleWithGamemode",gmodes) 
        for id,map in ipairs(maps) do 
            maptable[id] = {} 
            maptable[id].info = getResourceName(map) 
            maptable[id].author = getResourceInfo(map,"author") 
                local row = guiGridListAddRow(gMapGrid) 

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...