
UserToDelete
Members-
Posts
766 -
Joined
-
Last visited
Everything posted by UserToDelete
-
Not only affect in vehicles, running too
-
What you mean by that? in the past i developed a server with 5 max players, after ending develop, server ends with 22 Players daily don't think in 'fame and famous' think in innovation and functionality, not mods and skins (for example)
-
dbExec dbQuery dbConnect dbPoll
-
Think in upgrade server, not closing it and thinking only in players
-
Ya intente y no me funciono, es decir no carga el browser con ese archivo html Y este enlace? [url=http://TU_IP:PUERTO_HTTP/]http://TU_IP:PUERTO_HTTP/[/url]resource/archivo.html Y define esto en el meta: <html src="archivo.html" />
-
Y la practica es que cuando quieras añadir una API, vas a tener que editar medio servidor
-
Realmente lo que yo te puse, era tu script optimizado, la tabla dentro de la funcion significa que si hay un pais de esa lista, lo asigna a ES automaticamente sin tener que hacer tantos elseif o or
-
Hmm. Can you try this ../../mtaserver.conf Assuming this path: resources/mtaserverconfigurator/server.lua
-
Dijo que no le devolvia el pais de la IP española. Estaba en localhost. 127.0.0.1 no pertenece a ningún país.
-
NOTIFICACION IMPORTANTE A partir de unos dias, el dominio venad.cf pasará a ser cydrio.com, trataré de hacer una redireccion, pero notifico igualmente sobre el tema, ya que la redireccion desaparecerá en un año, asi mismo, cambiará el nombre de VeNaD Hosting (VDH) a Cydrio Hosting (CyDH) El dominio ya esta cambiado
-
PORQUE ME SALEN ESTOS ERRORES?
UserToDelete replied to Monsthers's topic in General Multi Language discussion
Deberias postear en la seccion de español Tienes el resource iniciado?, es lo mas logico (ese error) -
You cannot access by fileOpen("../mtaserver.conf") ?
-
Nose que es eso, no te explicas. Pero como hablas de 'mods' imagino que hablas de cambiar 'TXD y DFF' dentro del juego engineReplaceModel() engineLoadTXD() engineLoadDFF() engineImportTXD()
-
Podrias filtrar el team para ver si pertenece el jugador al team correcto, y en caso correcto, lo teletransportas
-
That is caused by the lag of the client, there is no 'fix'
-
Usas modulos?, quizas este 'deprecated'
-
COMO PASO UN GAMEMODE DE 1.4 A 1.5?
UserToDelete replied to Monsthers's topic in Ayuda relacionada al cliente/servidor
Usas modulos?, quizas este 'deprecated' -
Y por que no directamente usas el sistema de 'admin' diseñado por Lil_Toady? El problema, es que CLIENT no admite todos los fetchRemote (o almenos, hace 2 dias, que fue cuando probé) De esta forma puedes usar getElementData(element, "lang") --en servidor getElementData(localPlayer, "lang") --en client local mensajes = { ["ES"] = "Bienvenido al servidor", ["PT"] = "Benvido ao servidor", ["EN"] = "Welcome to server" } function subLang (value) local langs = { ["ES"] = {"MX", "VE", "SV", "PY", "PE", "AR", "CL", "UY", "CO", "EC"}, ["PT"] = {"BR"}, ["EN"] = {} } for k,v in pairs(langs) do for k,v in ipairs(v) do if v == value then return k end end end return "EN" end function getLang(player) local country = subLang(exports.admin:getPlayerCountry(player)) if country then return country else return false end end addEventHandler("onPlayerJoin", root, function () local country = getLang(source) if country then setElementData(source, "lang", country) end end ) addEventHandler("onResourceStart", resourceRoot, function () for k,v in ipairs(getElementsByType('player')) do if not getElementData(v, "lang") then local country = getLang(v) if country then setElementData(v, "lang", country) end end end end )
-
Wikipedia EN From Linux example
-
had never thought of this, good job!
-
i think that my build is an advance markers = { createMarker( 1923.009765625, 1242.271484375, 62.886322021484, "cylinder", 1, 255, 255, 0, 200), --createMarker(-709, 966, 12, "cylinder", 1, 255, 255, 0, 200) } vehicle ={} function onMarkerHitGiveVehicle(hitPlayer) if getElementType(hitPlayer) == "player" then if (isElement(vehicle[hitPlayer])) then outputChatBox("You did took a car", hitPlayer) else local x, y, z = getElementPosition(hitPlayer) vehicle[hitPlayer] = createVehicle(514,x,y,z) setElementData(hitPlayer,"car",Vehicle[hitPlayer]) warpPedIntoVehicle(hitPlayer,vehicle[hitPlayer]) addEventHandler("onVehicleExit", hitPlayer,destime) addEventHandler("onVehicleEnter", hitPlayer,killtime) end end end function des(player, veh) local veh = getElementData(player ,"car") if veh then destroyElement(veh) end end function destime() kill = setTimer( function (hitPlayer) local veh = vehicle[hitPlayer] local seat = getPedOccupiedVehicleSeat(hitPlayer) if veh and seat == 0 then destroyElement(veh) outputChatBox("Veh destroyed", hitPlayer, 255,0,0,true) end end , 10000,1, hitPlayer) outputChatBox("Get in car in 10s or the car will be destroyed",hitPlayer) end function killtime() killTimer(kill) outputChatBox("Pls don't get out the car",hitPlayer) end addEventHandler("onMarkerHit",root,onMarkerHitGiveVehicle)
-
Podes mostrar o a liña que da o problema?, luac.multitheftauto.com e o unico compilador do MTA
-
La unica forma (creo) es crear un elemento y hacerle attach, arreglando la posicion de cuyo reemplazo
-
CPU Overload are not CPU usage, you updated MTA to latest Nightly version?