Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HunT

  1. At this time we are only hosting from France and Germany. We might expand onto the other side of the Atlantic in the future, but we are not planning any date yet. If there would be sufficient demand upfront, we could go ahead and deploy a dedicated server there. Fine. Other Question (maybe this is util for everyone) How i can make the FTP sub Account for map manager? The map manager have access only here : mtasa/mods/deathmatch/resources/[gamemodes]/[race]/[maps] = only in [maps] have access. For menage the maps
  2. Awesome support but the server is only in Germany,70% of my friends is from Argentina Mexico Peru etc. . . Can u add the host USA?
  3. Vai nel ACL nel gruppo default e dagli il value true qui : -- cerca <right name="general.tab_maps" access="false"></right> -- Dagli il true <right name="general.tab_maps" access="true"></right>
  4. Forget . . . togli la risorsa dall ACL admin
  5. HunT

    coloured ping?

    True. I have every time min.120 ping Maybe is better: 50 green 100 yellow 200 orange 300 red And why u use ever if and not elseif? Edit: Anyway u Code is wrong and I can't give u the example now why reply with iPhone. If nobody help u I can make this later.
  6. Pero Rega Munitevi Di DebugScript 3 Non mi hai detto neanche che errore da Prima di tutto aggiungi la risorsa nel ACL admin group. Secondo. . .non ti funziona perche probabilmente hai un pannello non tuo e quindi non hai il comando : "pnfnsdhasd3w7432jhdsbw3ersdncsdir" che dovrebbe essere in racevoting_server.lua Pero avendo solo il pannello e non la gamemode completa non puo mai funzionarti. Ho eliminato il comando ed ho messo il triggerServer del admin panel,dovrebbe funzionare. Ecco qui : ------------------------------------------ -- Mapy ------------------------------------------ function buyMap(thePlayer,mapName) if mapIsAlreadySet == false then if not (mapName == "") then local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) if playerCash >= mapCost then --executeCommandHandler("pnfnsdhasd3w7432jhdsbw3ersdncsdir",thePlayer,mapName) --No Good triggerEvent ("setNextMap_s", thePlayer, mapName) -- Sounds Good savePlayerData(thePlayer,"cash",playerCash-mapCost) outputChatBox("#FFFFFFNextmap: "..getPlayerName(thePlayer).."#FFFFFF has bought a next map!",getRootElement(),255,255,255,true) outputChatBox("#FFFFFFNextmap: #00AAFF"..mapName,getRootElement(),255,255,255,true) mapIsAlreadySet = thePlayer local oldmapbuys = loadPlayerData(thePlayer,"mapBuys") savePlayerData(thePlayer,"mapBuys", oldmapbuys + 1) CheckAchievement(thePlayer,13) scoreboardRefresh(thePlayer) else outputChatBox("#00AAFF# #FFFFFFYou don't have enough money to set a map!",thePlayer,255,255,255,true) end else outputChatBox("#00AAFF# #FFFFFFPlease select a map from the list first!",thePlayer,255,255,255,true) end else outputChatBox("#00AAFF# #FFFFFFA map is already set at the moment! Please try again later.",thePlayer,255,255,255,true) end end function unbuyMap(thePlayer) if mapIsAlreadySet ~= false then if mapIsAlreadySet == thePlayer then executeCommandHandler("pnfnsdhasd3w7432jhdsbw3ersdncsdir",thePlayer,nil) local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) savePlayerData(thePlayer,"cash",playerCash+(mapCost/4)*3) outputChatBox("#FFFFFFNextmap: "..getPlayerName(thePlayer).."#FFFFFF has unbought a next map!",getRootElement(),255,255,255,true) mapIsAlreadySet = false local oldmapbuys = loadPlayerData(thePlayer,"mapBuys") savePlayerData(thePlayer,"mapBuys", oldmapbuys - 1) CheckAchievement(thePlayer,13) scoreboardRefresh(thePlayer) else outputChatBox("#00AAFF# #FFFFFFYou didn't buy that map!",thePlayer,255,255,255,true) end else outputChatBox("#00AAFF# #FFFFFFNo map has been bought!",thePlayer,255,255,255,true) end end function resetMapSetStatus() mapIsAlreadySet = false end addEventHandler("onMapStarting",getRootElement(),resetMapSetStatus) function getServerMaps (loadList,s) local tableOut if loadList then tableOut = {} -- local deletedMaps = {} local gamemodes = {} gamemodes = call(getResourceFromName("mapmanager"), "getGamemodes") for id,gamemode in ipairs (gamemodes) do tableOut[id] = {} tableOut[id].name = getResourceInfo(gamemode, "name") or getResourceName(gamemode) tableOut[id].resname = getResourceName(gamemode) tableOut[id].maps = {} local maps = call(getResourceFromName("mapmanager"), "getMapsCompatibleWithGamemode" , gamemode) for _,map in ipairs (maps) do table.insert(tableOut[id]["maps"] ,{name = getResourceInfo(map, "name") or getResourceName(map), resname = getResourceName(map)}) end table.sort(tableOut[id]["maps"], sortCompareFunction) end table.sort((tableOut), sortCompareFunction) table.insert(tableOut, {name = "no gamemode", resname = "no gamemode", maps = {}}) local countGmodes = #tableOut local maps = call(getResourceFromName("mapmanager"), "getMapsCompatibleWithGamemode") for id,map in ipairs (maps) do -- if fileOpen(":"..getResourceName(map).."/deleted") then -- table.insert(deletedMaps ,{name = getResourceInfo(map, "name") or getResourceName(map), resname = getResourceName(map)}) -- else table.insert(tableOut[countGmodes]["maps"] ,{name = getResourceInfo(map, "name") or getResourceName(map), resname = getResourceName(map)}) -- end end -- table.sort(deletedMaps, sortCompareFunction) table.sort(tableOut[countGmodes]["maps"], sortCompareFunction) -- table.insert(tableOut, {name = "deleted maps", resname = "deleted maps", maps = {}}) -- local countGmodes = countGmodes + 1 -- tableOut[countGmodes]["maps"] = deletedMaps end local map = call(getResourceFromName("mapmanager"), "getRunningGamemodeMap") local gamemode = call(getResourceFromName("mapmanager"), "getRunningGamemode") gamemode = gamemode and getResourceName(gamemode) or "N/A" map = map and getResourceName(map) or "N/A" callClientFunction(loadList,"loadMaps", tableOut, gamemode, map, s) end function sortCompareFunction(s1, s2) if type(s1) == "table" and type(s2) == "table" then s1, s2 = s1.name, s2.name end s1, s2 = s1:lower(), s2:lower() if s1 == s2 then return false end local byte1, byte2 = string.byte(s1:sub(1,1)), string.byte(s2:sub(1,1)) if not byte1 then return true elseif not byte2 then return false elseif byte1 < byte2 then return true elseif byte1 == byte2 then return sortCompareFunction(s1:sub(2), s2:sub(2)) else return false end end
  7. Puo eliminalrla se vuoi con removeWorldObject Ecco la wiki : https://wiki.multitheftauto.com/wiki/RemoveWorldModel Se invece ti server la nave prima la rimuovi e poi al crei con createObject. Anyway se hai aiuto posta qui
  8. Yup now is ok. For other slots and renew contact [email protected] ? Anyway tnx for tempestive support,epic team.
  9. Ok i have the account,but now how i give the cash? Edit :Maybe i have solved
  10. But i make the account two times and fail 2 times,where wrong ?
  11. HunT

    I Need help here

    Firt Get The account Data and setElementData,but anyway is bad soluction . Who Give u this patetich example for make the user panel
  12. Object Id : 5644 Object Name : laebuildsit01a Categoria : Other Buildings
  13. Sounds Good Can u give me the month price for : Server Name WithOut Credit og-servers 20 Slot Fast Download Wait the reply and buy.
  14. And the difference fast download or no? normal what?
  15. I need the host for my new server,but I have the questions: 1: I can change the slot in future? Example 20 to 40 2: difference fast download or normaly 3: I can make the backup? Create backup import backup download backup
  16. Bastava una ricerca : https://community.multitheftauto.com/ind ... ls&id=4209 scream98 pero non fare 700mila post,fai un unico post di aiuto.grazie.
  17. Dai shokkino non fare cosi. Cmq scream scarica prima questo (ovvero la gamemode zombie) : https://community.multitheftauto.com/ind ... ils&id=347 E poi aggiungi la risorsa exp system. L exp system di castillo funziona su tutte le gamemode roleplay,ma da sola non funziona . Se mastichi un po di lua e menagement server dovresti riuscirci. Amen.
  18. Non ne sono sicuro ma credo che questa risarsa sia associata alla zombie GM. Se hai anche la zombie mode nel server allora vedi che dice il debugscript Loggiati come admin e scrivi in chat /debugscript 3 Posta qui eventuali errori.
  19. Hehehe Cmq prova ad aggiungere la risorsa nell ACL admin.
  20. HunT

    SQl

    U can use the default database with: setAccountData getAccountData And u can menage the data type value with SQLile Browser Open the internal.db with SQL browser program. Download here : http://sqlitebrowser.sourceforge.net/
  21. Probabilmente e un problema di MTAsa. Cmq potete scaricare le ultime resource aggiornate 5 giorni fa qui : http://code.google.com/p/mtasa-resources/downloads/list sostituite la resource che vi da problemi con quella all interni del pacchetto.
  22. HunT

    [info] Txd client

    U not understand Example: Player 1 - weapon id 100 - rank 1 = Txd weapon for weap. Id 100 Player 2 - weapon id 100 - rank 2 = other Txd weapon for weap. Id 100 the players can have the different Txd in weapons? This is the question Not visible to all players but only for client.
×
×
  • Create New...