-
Posts
611 -
Joined
-
Last visited
Everything posted by AlvareZ_
-
Mi duda es la siguiente, Como puedo crear con guiCreateEdit que pongas un numero de skin y luego darle a un boton que diga Poner, yo se todo lo de el boton y eso pero mi duda es como poner para que sea el skin de el numero que pongas
-
Aqui tienes uno creado por @pakito123, anteriormente en el Foro: local spawnV = { { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 } } local spawnL = { { 1922.7138671875, -2300.3759765625, 13.546875 }, { 2708.5712890625, -1740, 42.133285522461 }, { 1140, -1474.28515625, 15.796875 } } local spawnF = { { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 } } addEventHandler( "onPlayerWasted", getRootElement(), function() local x, y, z = getElementPosition ( source ) local city = getZoneName ( x, y, z, true ) if city == "Las Venturas" then setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnV[ math.random ( #spawnV ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) elseif city == "San Fierro" then setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnF[ math.random ( #spawnF ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) elseif city == "Los Santos" then setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnL[ math.random ( #spawnL ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) else setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnL[ math.random ( #spawnL ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) end end )
-
Se le abre alguna puerta ?
-
Bueno intenta esto, y dime que pasa: local andromeda = createVehicle (592, 1539.3833007813, 1318.9182128906, 15.579751014709, 0, 0, 360) function puerta() setVehicleDoorState ( andromeda , 1, 4 ) end addEventHandler("onResourceStart", getRootElement(), puerta)
-
Hola Chaz, Bueno lo que te recomiendo es lo siguente, Si se te es necesario el F1 del GM 'play' Copea todo ese script eh realiza uno nuevo luego usa: spawnPlayer onPlayerLogin Para cuando logea spawnee, se te es mas facil, eso creo Yo.
-
La verdad no lo entendí mucho pero al parecer es algo así: [2013-04-22 02:48:22] WARNING: spawnn/c_main.lua(Linea 164) [Client] setPedFrozen fue desaprobado y puede que no funcione en las futuras versiones. Porfavor replasarlo con setElementFrozen. [2013-04-22 02:48:22] Algunos archivos de el recurso 'spawnn' usan funciones Desaprobadas. [2013-04-22 02:48:22] Usa el comando 'upgrade' Para realizar las actualizaciones básicas de los recursos.
-
Hmm, No por que? mas bien la mayoría de los servers Host no muestran la IP en el mtaserver.conf
-
Simplemente ponlo así: function deleteAllPlayerBlips(player) local elements = getAttachedElements(player) if (elements) then for i, element in ipairs(elements) do if (getElementType(element) == "blip") then destroyElement(element) end end end end
-
Simplemente ponlo así: function deleteAllPlayerBlips(player) local elements = getAttachedElements(player) if (elements) then for i, element in ipairs(elements) do if (getElementType(element) == "blip") then destroyElement(element) end end end end
-
function spawnOnJoin() spawnPlayer(source, joinX, joinY, joinZ, 0 , joinSkin) fadeCamera(source, true) setCameraTarget(source, source) giveWeapon(source, joinWeapon, joinAmmo) givePlayerMoney(source, joinMoney) end addEventHandler ( "onPlayerLogin", getRootElement(), spawnOnJoin )
-
Usando el gui editor y creando cualquier cosa en el lugar. Bueno así lo uso yo cuando es imagen
-
En el c_main.lua esta esta parte: allHUDElements = { "ammo", "area_name", "armour", "breath", "clock", "health", "money", "radar", "vehicle_name", "weapon", } Tiene que quedar: allHUDElements = { "area_name", "radar", "vehicle_name", }
-
Good Job, But its BIG GUI O,o
-
Tambien Fran pero si usa el spawn de 50p, El mismo Spawn crea los Hud Por eso le pregunto
-
Se refiere a unir un panel de Clan con el Set Team que trae el admin
-
Es una coordenada incorrecta en el spawn_localitations.xml, Que al player entrar a el team que causa el error se reinicia solo
-
Creo que te falta el getRootElement triggerClientEvent ( player, "Panel", getRootElement(), player)
-
Si a scale te refieres con ColShape: https://community.multitheftauto.com/index.php?p=resources&s=details&id=3804
-
Si serverside a todas estas te ando ?
