Jump to content

Javier

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by Javier

  1. Javier

    Color Code

    Alexs lo tengo asi , pero me sigue dando el texto asi outputChatBox("#FF1010LocationX: " ..x, thePlayer, 255, 255, 255, true)
  2. Javier

    Color Code

    No, lo tengo como client... lo que quiero es que cuando el player escriba un comando salga "location ( con el color ) " ..x,etc ,etc
  3. Javier

    Color Code

    Hola amigos, desde ayer que tengo problema con el chatBox... Este es mi script outputChatBox("#FF1010LocationX: " ..x, thePlayer, 255, 255, 255, true) Lo tengo como client y cuando sale el mensaje sale todo asi "0FF1010LocationX" asi sale en el chat... alguna forma de arreglarlo? Gracias.
  4. Javier

    problema

    Hay está!! Gracias Brother.
  5. Javier

    problema

    Gracias Solidsnake Ahora si anda, el unico problema es que cuadno no está el BOT , me dá en la consola Bad Argumente. Pero el scrpt en Si anda.
  6. Javier

    problema

    asi?, No entiendo. setTimer(getElementPosition, 5000, 0, (slothbot))
  7. Javier

    Expected

    Anyone can help me?
  8. Javier

    Expected

    Hello guys. Check my script function kill ( slothbot ) local x, y, z = getElementPosition( slothbot ) -- This is the line local hora,minuto = getTime() if ( hora == 02 and minuto == 58 ) then createExplosion(x, y, z, 4) killPed( slothbot ) destroyElement( blip ) outputChatBox("NEMESIS HA SIDO DESTRUIDO", getRootElement(), 0, 255, 0) end end setTimer(kill, 2000, 0) Problem BOSS\Jason.lua:22: Bad argument @ 'getElementPosition' [Expected element at argument 1, got nil] How i can fix this?
  9. Javier

    problema

    Hola chicos, miren este script, me dice BOSS\Jason.lua:22: Bad argument @ 'getElementPosition' [Expected element at argument 1, got nil] El script function kill ( slothbot ) local x, y, z = getElementPosition( slothbot ) -- Este me dice que está mal.. local hora,minuto = getTime() if ( hora == 02 and minuto == 58 ) then createExplosion(x, y, z, 4) killPed( slothbot ) destroyElement( blip ) outputChatBox("NEMESIS HA SIDO DESTRUIDO", getRootElement(), 0, 255, 0) end end setTimer(kill, 2000, 0)
  10. Javier

    What is bad?

    when I activate the resource, the sky is always black even though the weather is not the number 9
  11. Javier

    What is bad?

    Hey guys, check this out function blackSky ( ) local weather = getWeather ( ) if ( ( weather ) == 9 ) then setSkyGradient ( 0, 0 ,0, 10, 10 ,10 ) else resetSkyGradient ( ) end end addEventHandler ( "onResourceStart", resourceRoot, blackSky ) The problem is that the sky is always black. Although the weather is not number 9...Any idea how I can fix it?
  12. Envez de instalar el archivo en en la carpeta resources, instalalo en la carpeta [gamemodes]. Nada más.
  13. Javier

    Nametag

    Gracias Alexs. Estuve viendo otros nametags en la comunidad y al parecer no es muy facil.
  14. Javier

    Nametag

    Hola amigos, me podrian decir todas las funciones que necesito para hacer un nametag? Gracias.
  15. Y donde cancelas el evento cuando el player entra al auto?.
  16. Javier

    Is this okay?

    Hello friends, look my script. I want the water to change color but do not know if this is well done. local waters = { } water[1] = "255, 255, 100, 20" water[2] = "100, 20, 30, 40" water[3] = "0, 0, 0, 0" function cambio () setWaterColor ( [ math.random ( #waters ) ] ) end addEventHandler("onResourceStart", cabio) setTimer(cambio, 10000, 0) Thanks.
  17. Javier

    Error near

    Hello friend , I' have a problem with my script. Error: expected near close at line 1 '{' and my script local climas = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 } function clima() setWeather ( climas [ math.random ( #climas ) ] ) end addEventHandler("onResourceStart", resourceRoot, clima) setTimer(clima, 1000, 0)
  18. Javier

    Funciones

    OK Gracias, ah Esto està bien?
  19. Javier

    Funciones

    Y si hago eso que me dijiste. Solo veria la lluvia el player que entrò al colshape?.
  20. Javier

    Funciones

    Pero solo seria la lluvia en el colshape?
  21. Javier

    Funciones

    Hola gente, necesito saber que funciones necesito para crear una zona donde siempre llueva. Alguien sabe? Gracias
×
×
  • Create New...