Jump to content

Ayuda comando para comandos XD


emaa24

Recommended Posts

Posted

Bueno, trate de hacer un scrip, para que un user, al poner /comandos pueda ver los comandos del server... pero no me funciona, podrian decirme que le falta? soy nuevo en esto :)

  
addCommandHandler("comandos", 
function (thePlayer) then 
        outputChatBox ( "#002EB8**---Comandos #FF0000Disponibles---**", thePlayer, 255, 255, 255, true) 
        outputChatBox ( "#002EB8*Piloto#C2C2C2 /drift[1-7] /salto /recta /estacionamiento", thePlayer, 255, 255, 255, true) 
    end 
end) 

Desde ya muchas gracias compas :D

Posted

Asi va bien

function cmd (thePlayer) 
        outputChatBox ( "#002EB8**---Comandos #FF0000Disponibles---**", thePlayer, 255, 255, 255, true) 
        outputChatBox ( "#002EB8*Piloto#C2C2C2 /drift[1-7] /salto /recta /estacionamiento", thePlayer, 255, 255, 255, true) 
end 
addCommandHandler("comandos",cmd) 

430x73.png

430x73.png

Posted

---Mira la diferencia Mi script

addCommandHandler("comandos", 
function (thePlayer) 
        outputChatBox ( "#002EB8**---Comandos #FF0000Disponibles---**", thePlayer, 255, 255, 255, true) 
        outputChatBox ( "#002EB8*Piloto#C2C2C2 /drift[1-7] /salto /recta /estacionamiento", thePlayer, 255, 255, 255, true) 
end 
) 

-- Tu Script

addCommandHandler("comandos", 
function (thePlayer) then 
        outputChatBox ( "#002EB8**---Comandos #FF0000Disponibles---**", thePlayer, 255, 255, 255, true) 
        outputChatBox ( "#002EB8*Piloto#C2C2C2 /drift[1-7] /salto /recta /estacionamiento", thePlayer, 255, 255, 255, true) 
    end 
end) 

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

Relativamente es lo Mismo.

podria sugerir algo para que se vea mejor a vista del usuario

addCommandHandler("comandos", 
function (thePlayer) 
        outputChatBox ( "#002EB8**---Comandos #FF0000Disponibles---**", thePlayer, 255, 255, 255, true) 
        setTimer(outputChatBox,2000,1,"#002EB8*Piloto#C2C2C2 /drift[1-7] /salto /recta /estacionamiento", thePlayer, 255, 255, 255, true) 
end 
) 

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

  • Recently Browsing   0 members

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