Jump to content

No funciona el script mio


andrex123

Recommended Posts

Posted

Aka el script

rutals = createMarker(1937.688, -2382.673, 13.54, 'cylinder', 5, 255, 0, 0, 150) 
  
  
function rutalss() 
 if isElementWithinMarker(localPlayer, rutals) then 
    oututChatBox ("#FF0000Prueba", 255, 255, 255, true) 
 else 
    outputChatBox("No estas en el lugar apropiado para este comando.!", 255, 0, 0) 
 end 
end 
addCommandHandler("rutals", rutalss) 

estoy en el marker y no pasa nada

Posted
rutals = createMarker(1937.688, -2382.673, 13.54, 'cylinder', 5, 255, 0, 0, 150) 
  
function rutalss() 
 if isElementWithinMarker(localPlayer, rutals) then 
    outputChatBox("#FF0000Prueba", 255, 255, 255, true) -- Pusiste "oututChatBox", es "outputChatBox". 
 else 
    outputChatBox("No estas en el lugar apropiado para este comando.!", 255, 0, 0) 
 end 
end 
addCommandHandler("rutals", rutalss) 

Posted

ok, gracias :D

otra cosita, conque ..... cosa puedo enviarles mensaje a un team ?, y como puedo hacer que el

setTimer 

puerda crear un marker llamado marker1?, para luego borarrlo

Posted

mira, quiero que un scrip, por ejemplo:

createTeam ("LS airport",0, 0,255) 
createTeam ("SF airport",0, 128,255) 
createTeam ("LV airport",0, 255,255) 
createTeam ("Chile Airport",255,0,0) 
  
addEvent("lslv",true) 
addEventHandler("lslv",root, 
function () 
        outputChatBox("**#C2C2C2Enviando informacion a la torre de control de LS...", source, 255, 255, 255, true) 
        --Aka mandarle algo a los de LS Airport, se que no habra nadien 
end) 

Posted
createTeam ("LS airport",0, 0,255) 
createTeam ("SF airport",0, 128,255) 
createTeam ("LV airport",0, 255,255) 
createTeam ("Chile Airport",255,0,0) 
  
addEvent("lslv",true) 
addEventHandler("lslv",root, 
function () 
        outputChatBox("**#C2C2C2Enviando informacion a la torre de control de LS...", source, 255, 255, 255, true) 
        for index, player in ipairs(getPlayersInTeam(getTeamFromName("LS airport"))) do 
              outputChatBox("Hola.",player) 
        end 
end) 

  • Recently Browsing   0 members

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