Jump to content

Search the Community

Showing results for tags 'congelar'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 2 results

  1. Oi, eu estou aqui para pedir ajuda para alguem que saiba script, para mim me ajudar com aprendizado, e ajudar outros com esse script.Preciso de ajuda em que ao player chegar na mark ele fique paralisado por um tempo(tudo na mesma function), e que depois que o player chegue em uma certa mark ele possa vizualizar no mapa a marca em que ele tem que ir.
  2. Estoy teniendo un problema hace un mes y no lo puedo solucionar de ninguna manera y recurro para ver si alguno sabe el origen del problema. El script funciona: Jugador > Accede al panel > Boton > Trabajo > Empieza el primer marker > Apenas llega debería congelar (Pero solo a veces congela, otras sigue de largo) y a veces reiniciando el script funciona Cliente: addEventHandler("onClientGUIClick", guiRoot, function() local getGui = guiGetVisible(Ventana2) if source == BOTON1 then if getGui then guiSetVisible(Ventana2, false) showCursor(false) Marker1 = createMarker(2459.083984375, 1901.0810546875, 10.768750190735-1,"cylinder",2,0,255,0) addEventHandler( "onClientMarkerHit", Marker1, Siguientemarker1 ) Marker1BLIP = createBlipAttachedTo ( Marker1, 0 ) outputChatBox ("----------------------------",255,0,0, true) outputChatBox ("¡Para empezar ve al marker!.",0,218,255, true) outputChatBox ("----------------------------",255,0,0, true) end end end ) function Siguientemarker1 (element) if element == localPlayer then if timer then killTimer(timer) timer = nil end timer = setTimer(Siguientemarker2, 30000, 1) setElementFrozen ( veh, true ) ------Aca deberia congelar siempre outputChatBox ("----------------------------",255,0,0, true) outputChatBox ("Cargando..." ,0,255,255, true) outputChatBox ("----------------------------",255,0,0, true) end end function Siguientemarker2() destroyElement ( Marker1 ) destroyElement ( Marker1BLIP ) Marker1 = nil Marker2= createMarker(2502.048828125, 2153.3330078125, 10.296809196472-1,"cylinder",2,0,255,0) if veh then setElementFrozen ( veh, false ) Marker2BLIP = createBlipAttachedTo ( Marker2, 0 ) timer = nil addEventHandler( "onClientMarkerHit", Marker2, Siguientemarker2B ) end end Aclaraciones: * Hay varios botones con la misma función diferente nombre * El "Siguientemarker" sigue hasta ejemplo 32 markers. (Apenas comienza es cuando no "congela" si congela al principio, congela en todos los markers.
×
×
  • Create New...