Jump to content

Marker Problem


Tonyx97

Recommended Posts

Posted

Estoy harto ya de este problema o lo que *** sea, pork por ejemplo creo un marker en la coordenada 0, 0, 20, y paso por la coordenada 0, 0, 0 y es como si lo golpease pork tengo una funcion de cuando lo golpee salga una ventana, kiero solucionar este problema por favor, no es problema de mi script eso segurisimo por eso no pongo el codigo, tambien este error se da en los pisos.

-Advanced programmer C++, openGL, JS, Java y C# 

me :)

Posted

Postea tu script.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

este es:

  
windowMakeIt = guiCreateWindow(512,236,248,230,"Ejemplo",false) 
  
markerCreate1 = createMarker ( 2560, -1303, 1043.09, "cylinder", 1, 100, 0, 0, 150 ) 
markerCreate2 = createMarker ( 2560.20, -1284, 1043.09, "cylinder", 1, 0, 100, 0, 150 ) 
setElementInterior ( markerCreate1, 2 ) 
setElementInterior ( markerCreate2, 2 ) 
  
function MakeIt ( hitElement, matchingDimension ) 
    if hitElement == getLocalPlayer() then 
        guiSetVisible ( windowMakeIt, true ) 
        showCursor ( true ) 
    end 
end 
addEventHandler ("onClientMarkerHit", markerCreate1, MakeIt) 
  
function MakeIt2 ( hitElement, matchingDimension ) 
    if hitElement == getLocalPlayer() then 
        guiSetVisible ( windowMakeIt, true ) 
        showCursor ( true ) 
    end 
end 
addEventHandler ("onClientMarkerHit", markerCreate2, MakeIt2) 

-Advanced programmer C++, openGL, JS, Java y C# 

me :)

Posted

Ese es el script que usas? porque la ventana siempre estara visible ya que no la ocultaste.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
Ese es el script que usas? porque la ventana siempre estara visible ya que no la ocultaste.

perdon me falto el guiSetVisible ( windowMakeIt, false )

-Advanced programmer C++, openGL, JS, Java y C# 

me :)

Posted

Yo cree un marker en la posicion: 0, 0, 20, le puse para que enviase un mensaje al chat al tocarlo, fui a la posicion: 0, 0, 0 y no paso nada.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
Yo cree un marker en la posicion: 0, 0, 20, le puse para que enviase un mensaje al chat al tocarlo, fui a la posicion: 0, 0, 0 y no paso nada.

pruebalo en el INT 2 en las mismas coordenadas de los mios "palacio de crack de big smoke"

-Advanced programmer C++, openGL, JS, Java y C# 

me :)

Posted

Si, seguro es un problema de los interiores.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...