^.^ Posted August 30, 2012 Posted August 30, 2012 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-Code: 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) guiGridListSetItemText(gMapGrid,row,1,getResourceName(map),false,false) end
cs8898 Posted August 31, 2012 Posted August 31, 2012 hab da so ne idee also mit call greifst du warscheinlich auf ne function einer anderen resource zu musst irgendwie den gamemode rausfinden aber hab grad nix gefunden wie getGamemode
^.^ Posted August 31, 2012 Author Posted August 31, 2012 Das Problem war, dass sich der Mapmanager nicht Clientseitig callen lassen hat.
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