Jump to content

PhantomDamn

Members
  • Posts

    381
  • Joined

  • Last visited

Everything posted by PhantomDamn

  1. alguien me ayuda con esto: spawnn\c_main.lua:28. addEventHandler: 'onClientRender' with this funcion is alreadu handled estas son las lineas que muestran el error: letterBox = { stripHeight = screenSize[ 2 ] * .15, stripAlpha = .93, -- 0-1 animLength = 01, -- seconds animStartTick = 0, animFinishTick = 0, keepAnimating = true, flyIn = function ( ) letterBox.animStartTick = 0; addEventHandler( "onClientRender", g_root, animateLetterBox_flyIn ); setTempPedRotating( true ); end, flyOut = function ( ) letterBox.animStartTick = 0; setTempPedRotating( false ); removeEventHandler( "onClientRender", g_root, animateLetterBox_flyIn ) addEventHandler( "onClientRender", g_root, animateLetterBox_flyOut ); end, } una ayuda , gracias.
  2. Gracias AlvareZ_ me ando bien.
  3. PhantomDamn

    speed

    quien conoce algun recurso que le de super turbo al auto... el speedbooster es muy lento... algo como un empuje que haga pasar el vehiculo de 50 MPH a 200 MPH
  4. jajajajjajaj man seguro cuando te diste el admin modificaste la linea user.Console y pusiste tu nick quitando la palabra console... al hacer eso le quitas el admin a la consola y te lo pusiste a ti... debes modificar eso "user.Console"> eso debe estar en el acl de console... agrega una linea mas si quieres ser consola tambn ... hazlo asi : "user.Console"> "user.tu-nick-aqui"> saludos
  5. si lo uso y sabes que tu practicamente me lo reparaste todo ... entonces tendria que modificar el spawn?
  6. VERE ESO... gracias por todas las ayudas pendeja, me has ayudado mucho, espero no deberte nada (y) ------------------------------------------------------------------edit------------------------------------------ en los ultimos tres clanes que hice esta faltando rot="225" estan asi: "0" y="0" z="0" /> ------------------------------------------------------------------edit---------------------------------------------- WARNING: spawn/s_main.lua:105 Bad Argument @'countPlayersInTeam' INFO: remove row1 WARNING: spawn/s_main.lua:105 Bad Argument @'countPlayersInTeam' INFO: remove row1 WARNING: spawn/s_main.lua:105 Bad Argument @'countPlayersInTeam' INFO: remove row1
  7. aun mi spawn se sigue dando restart solo... que posibilidades hay de que sea algun otro resource que contenga un evento que indique restart spawn o alguna posibilidad de que sea mi mtaserver? HELP ME miren esto haber si podria ser: 39607 y: 39730
  8. no me anda... activo el hudby y donde aparecen las armas, money, health y armour queda dos veces , el que trae el default y el hudby se ve feo meta: "Gaby" version="1.0" description="Hudby" name="News" type="script" /> script hudby2.lua function hud () showPlayerHudComponent ( source, "all", true ) end addEventHandler("onPlayerSpawn", getRootElement(), hud)
  9. type="client" /> :EpicFail:
  10. hago un script con eso alvarez?
  11. al decir spawnpoint a que se refiere? no creo que sea posx en el spawn_localitation
  12. hola no se por que mi spawn se me reinicia cada determinado tiempo en un dia se da restart hasta 8 veces y el debugscript 3 no me muestra nada y lo unico que me aparece en la carpeta logs/script es esto: [2013-04-14 19:50:34] [managers]/spawnmanager/spawn.lua:105: spawnPlayerAtSpawnpoint: Specified spawnpoint lacks proper 'x' position alguna ayuda gracias
  13. hay varios recursos que se llaman hudby... cambia el modelo del arma que aparece en la parte superior, lado derecho. esto incluye el arma, health, armour y nivel de busqueda... pero cuando activo queda encima de las que viene normalmente... este es el recurso https://community.multitheftauto.com/index.php?p=resources&s=details&id=5868
  14. PhantomDamn

    dx_hud

    hola, por que sera que activo este resource de TALP y me sale dos veces juntos con el que viene al comienzo
  15. estoy intentando lo mismo ... quiero cambiar mis zonas no por time sino por kills -------------------------------------------editado---------------------------------------------- function PlayerGangWasted(ammo, attacker, weapon, bodypart) local sourceTeam = getPlayerTeam(source) local sourceTeamName = getTeamName(sourceTeam) if attacker and (attacker ~= source) then if (getElementType(attacker) == "player") then attackerTeam = getPlayerTeam(attacker) attackerTeamName = getTeamName(attackerTeam) if attackerTeamName ~= sourceTeamName then if (isElementWithinColShape(attacker, gang_Col[sourceTeamName])) then if (WarsGangZone[attackerTeamName][sourceTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, sourceTeamName) WarsGangZone[attackerTeamName][sourceTeamName] = WarsGangZone[attackerTeamName][sourceTeamName]+1 if (WarsGangZone[attackerTeamName][sourceTeamName] == 1) then outputChatBox("AlvareZ xD"..getPlayerName(attacker).." kkkkkkkkk "..attackerTeamName.." kkkkkkkkk"..sourceTeamName.."!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][sourceTeamName] == 3) then WarsGangZone[attackerTeamName][sourceTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[sourceTeamName], r, g, b, 175) outputChatBox("PhantomDamn "..attackerTeamName.." 222222222"..sourceTeamName.."'a!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], false) gangZone[sourceTeamName] = attackerTeamName end elseif (isElementWithinColShape(attacker, gang_Col[attackerTeamName])) then if gangZone[attackerTeamName] ~= attackerTeamName then if (WarsGangZone[attackerTeamName][attackerTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, attackerTeamName) WarsGangZone[attackerTeamName][attackerTeamName] = WarsGangZone[attackerTeamName][attackerTeamName] + 1 if (WarsGangZone[attackerTeamName][attackerTeamName] == 1) then setRadarAreaFlashing(gang_Area[attackerTeamName], true) outputChatBox(" xDDDDDD"..getPlayerName(attacker).." mira esto Lol "..attackerTeamName.." ", getRootElement(), 0, 0, 0,true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][attackerTeamName] == 3) then WarsGangZone[attackerTeamName][attackerTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[attackerTeamName], r, g, b, 175) outputChatBox("eso es una tercera parte del escript xD"..attackerTeamName.." PROROTYPE ", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[attackerTeamName], false) gangZone[attackerTeamName] = attackerTeamName end end end end end end end addEventHandler("onPlayerWasted", getRootElement(), PlayerGangWasted) te sirve?
  16. un marker en forma de corona grande ubicado en las calles... vas montado en un auto, y al pasar este sale disparado ( velocidad rapida) una especie de super-nitro...
  17. hola quien me dice algun recurso que este en forma de marker que al pasar haga disparar el auto o vehiculo en el que ande... Saludos
  18. no interferira con el deathpickup?
  19. Line 34 and 35 : local rR, gG, bB = getRadarAreaColor( pArea ) if ( iR == rR ) and ( iG == gG ) and ( iB == bB ) then line 42: getRadarAreaColor (pArea, iR, iG, iB, 100); change : setRadarAreaColor (pArea, rR, gG, bB, 100); it change is good?
  20. @sasuke me podrias traducir esto... ERROR unzipped/truf/serverTurf.lua:2189: attemt to concatenate local 'turfGangs' (a boolean value) y este otro ERROR: unzipped/serveerturf.lua:1179 bad argument # 1 to 'unpack' ( table expected, not nil) creo que me falta mucho por aprender un simple error de estos me deja hecho nada Gracias
  21. Sasuke I Love You!!!!!!!!!!!!!! eres un duro
  22. debugscript 3 :ERROR: [turf\turft-s.lua:31:attempt to call global 'getPlayerGang' (a nil value)
  23. @Sasuke* it havent onColShapeLeave... why? speake spanish?
  24. disculpen este otro doble post.. miren como puse el evento onColShapeLeave : addEventHandler("onResourceStart",resourceRoot,function() outputDebugString("Sistema de territorios modificado por Cocodrilo..") end ) function radar ( player ) local playerGang = getElementData ( player, "gang" ) local turfGang = getElementData ( pCuboid, "getTurfGang", true ) if (turfGang == playerGang) then outputChatBox("Este territorio pertenece a "..turfGang, player, 0, 255, 0, false) else if not getPlayerTeam(player) then return end local playerTeam = getPlayerTeam ( player ) if ( playerTeam ) then local playerGang = getElementData ( player, "gang" ) if ( playerGang ) then if ( isTimer ( beachturfTimer ) ) then return end local r, g, b = unpack ( exports [ "gang_system" ]:getGangColor ( playerGang ) ) setRadarAreaFlashing ( pArea, true ) local turfGang = getElementData ( pCuboid, "getTurfGang", true ) if turfGang then outputChatBox("Estas en territorio "..turfGang..". Permanece aqui por 10 minutos para conquistarlo.", player, 0, 255, 0, false) else outputChatBox("Este Territorio aún no pertenece a nadie. Espera 10 minutos para conquistarlo", player, 0, 255, 0, false) end beachturfTimer = setTimer ( function ( ) local beachTurfCplayers = getElementColShape ( pCuboid ) local players = getElementsWithinColShape ( pCuboid, "player" ) setRadarAreaColor ( pArea, tonumber(r), tonumber(g), tonumber(b), 100 ) for _, player in ipairs ( players ) do outputChatBox("Has conquistado este territorio!", player, 0, 255, 0, false) triggerClientEvent("onTakeTurf", player) givePlayerMoney ( player, 50000 ) setElementData ( pCuboid, "getTurfGang", playerGang ) end setRadarAreaFlashing ( pArea, false ) end ,5000, 1 ) end end end end addEventHandler ( "onColShapeHit", pCuboid, radar ) addEventHandler( 'onColShapeLeave', root, function( player ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) end end ) Ya hice esto ahora entro a la zona y setRadarAreaFlashing ( pArea, true ) funciona bien, cuando salgo del area el evento onColShapeLeave hace que deje de flashear... pero al retornar al area nuevamente ya no flashea... que puede ser esto?
×
×
  • Create New...