Jump to content

que pasa?


andrex123

Recommended Posts

aka los markers que creo son solo checkpoins, pero yo pongo otros tipos

rutals = createMarker ( 1944.3000488281, -2385.6000976563, 12.60000038147, cylinder, 10, 255, 0, 0, 100) 
-------------------Panel LS-------------------------------- 
  
function rutaguils(thePlayer, matchingDimension, player) 
 if isElementWithinMarker(thePlayer, rutals) then 
    ventanals = guiCreateWindow(956,168,372,569,"Panel de rutas de LS",false) 
    imagenls = guiCreateStaticImage(14,31,346,163,"images/mtalogo.png",false,GUIEditor_Window[1]) 
    boton1ls = guiCreateButton(38,214,309,64,"LS - LV",false,GUIEditor_Window[1]) 
    boton2ls = guiCreateButton(39,295,310,65,"LS - SF",false,GUIEditor_Window[1]) 
    boton3ls = guiCreateButton(40,375,312,75,"LS - Aereo Abandonado",false,GUIEditor_Window[1]) 
    boton4ls = guiCreateButton(330,519,32,39,"X",false,GUIEditor_Window[1]) 
    label1ls = guiCreateLabel(82,459,238,34,"Tu avion:",false,GUIEditor_Window[1]) 
    label2ls = guiCreateLabel(84,495,237,32,"Tu Posicion:",false,GUIEditor_Window[1]) 
    label3ls = guiCreateLabel(50,533,94,16,"BKT - RolPlay",false,GUIEditor_Window[1]) 
else 
    outputChatBox("No estas en un lugar para usar este comando.!", thePlayer, 255, 0, 0) 
 end 
end 
addCommandHandler("rutals", rutaguils) 
  
----Funciones------ 
local despegels = createMarker (2043.0999755859, -2593.1000976563,13.5, corona, 10,255,0,0,100) 
addEventHandler("onClientGUIClick",root, 
function (thePlayer) 
    if (source == GUIEditor_Button[1]) then 
        outputChatBox ( "#C2C2C2 Enviando informacion a la torre de control de LS",255, 255,255, true) 
        setTimer (outputChatBox, 4000, 1,"#00FF00 Torrede control: #C2C2C2Informacion recivida, en unos momentos le daremos el pase de despege", 255, 255, 255, true) 
        setTimer (desjegels, 4000, 1) 
    end 
end) 
  
------------------- 
  
----------------------------------------------------------- 
  

Link to comment
rutals = createMarker ( 1944.3000488281, -2385.6000976563, 12.60000038147, "cylinder", 10, 255, 0, 0, 100) -- Te olvidaste de las comillas en "cylinder". 
-------------------Panel LS-------------------------------- 
  
function rutaguils(thePlayer, matchingDimension, player) 
 if isElementWithinMarker(thePlayer, rutals) then 
    ventanals = guiCreateWindow(956,168,372,569,"Panel de rutas de LS",false) 
    imagenls = guiCreateStaticImage(14,31,346,163,"images/mtalogo.png",false,GUIEditor_Window[1]) 
    boton1ls = guiCreateButton(38,214,309,64,"LS - LV",false,GUIEditor_Window[1]) 
    boton2ls = guiCreateButton(39,295,310,65,"LS - SF",false,GUIEditor_Window[1]) 
    boton3ls = guiCreateButton(40,375,312,75,"LS - Aereo Abandonado",false,GUIEditor_Window[1]) 
    boton4ls = guiCreateButton(330,519,32,39,"X",false,GUIEditor_Window[1]) 
    label1ls = guiCreateLabel(82,459,238,34,"Tu avion:",false,GUIEditor_Window[1]) 
    label2ls = guiCreateLabel(84,495,237,32,"Tu Posicion:",false,GUIEditor_Window[1]) 
    label3ls = guiCreateLabel(50,533,94,16,"BKT - RolPlay",false,GUIEditor_Window[1]) 
else 
    outputChatBox("No estas en un lugar para usar este comando.!", thePlayer, 255, 0, 0) 
 end 
end 
addCommandHandler("rutals", rutaguils) 
  
----Funciones------ 
local despegels = createMarker (2043.0999755859, -2593.1000976563,13.5, "corona", 10,255,0,0,100) -- Aca lo mismo con "corona". 
addEventHandler("onClientGUIClick",root, 
function (thePlayer) 
    if (source == GUIEditor_Button[1]) then 
        outputChatBox ( "#C2C2C2 Enviando informacion a la torre de control de LS",255, 255,255, true) 
        setTimer (outputChatBox, 4000, 1,"#00FF00 Torrede control: #C2C2C2Informacion recivida, en unos momentos le daremos el pase de despege", 255, 255, 255, true) 
        setTimer (desjegels, 4000, 1) 
    end 
end) 
  
------------------- 
  
----------------------------------------------------------- 
  

Link to comment
  • Recently Browsing   0 members

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