Jump to content

DiosSasuke

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by DiosSasuke

  1. alguien me ayuda por favor?
  2. somebody help me please?
  3. como hago que este objeto aparesca donde yo miro? ayudenme por favor objs = {} addCommandHandler ( "123", function ( thePlayer ) local x, y, z = getElementPosition ( thePlayer ) local mat = Matrix.create ( x+30, y, z+20) local forward = ( Matrix.getForward ( mat ) * 1) local pos = ( Matrix.getPosition ( mat ) + forward ) setTimer (createExplosion, 2000, 1,x+30, y, z, 11) objs[thePlayer] = createObject(751, pos) moveObject( objs[thePlayer], 2000, x+30, y, z+0) end )
  4. objs = {} addCommandHandler ( "123", function ( thePlayer ) local x, y, z = getElementPosition ( thePlayer ) local mat = Matrix.create ( x+30, y, z+20) local forward = ( Matrix.getForward ( mat ) * 1) local pos = ( Matrix.getPosition ( mat ) + forward ) setTimer (createExplosion, 2000, 1,x+30, y, z, 11) objs[thePlayer] = createObject(751, pos) moveObject( objs[thePlayer], 2000, x+30, y, z+0) end ) how do I make this object appear where I look? help me please
  5. as I do for when I write a command, a message appears on the screen that only I see, and that message disappears a minute help me
  6. thank you I'll try it when I enter the pc
  7. thank you I'll try it when I enter the pc
  8. Well, I'm sorry but I'm new and I dont know use all that . Could you give me an example? of all the unique thing I know how to use is the createobject everything else is new to me
  9. what I want is to create an object and when the object hits the player it will take damage. with hitting I mean the object touches the player and takes the player's life the player
  10. What I want is that when a player shock with the object, it takes away life
  11. Is it possible to make an object lower the player's life?
  12. what I want was to create an object that would appear above and when the object fell, the explosion would be activated. And the problem is that the object appears above where I am, and I want it further away and where I am looking, and the explosion appears behind me and I want it to appear where I look. the matrix did not work How to use: getPedTargetEnd, getScreenFromWorldPosition and getWorldFromScreenPosition that's what I need so that the explosion and the object appear where I look and away from me, but do I know how to use. Here I leave my code objs = {} addCommandHandler ( "explosion", function ( thePlayer ) local x, y, z = getElementPosition ( thePlayer ) local rx, ry, rz = getElementRotation ( thePlayer ) local origX, origY, origZ = getElementPosition ( thePlayer ) local mat = Matrix.create ( x, y, z+20, rx, ry, rz, origX - 30,origY+30,origZ) local forward = ( Matrix.getForward ( mat ) * 4) local pos = ( Matrix.getPosition ( mat ) + forward ) setTimer (createExplosion, 2000, 1,x+10, y, z, 11) objs[thePlayer] = createObject(751, pos) local newZ = origZ +0 moveObject( objs[thePlayer], 2000, origX, origY, origZ) end ) please help me, the matrix will not work
  13. yo usaba getPedBonePosition y createEfeect pero no pude hacer nada no se si lo hice mal me podrias dar un ejemplo? es mi primera ve q trabajo con getPedBonePosition y attachElement
  14. what I wanted was to create an object that would appear above and when the object fell, the explosion would be activated and the problem is that the object appears above where I am, and I want it further away and where I am looking, and the explosion appears behind me and I want it to appear where I look the matrix did not work
  15. Podrían decirme cómo crear un efecto en alguna parte de mi skin, ejemplo en el cuerpo y cuando camine, el efecto se mueva conmigo Y cuando ponga el comando, el efecto desaparece y cuando vuelva a poner el comando, el efecto aparesca otra vez
  16. lo que quiero hacer es crear otro tipo de llama diferente de la del fuego Como puede ver en este video, las llamas con otra textura se crean por separado del fuego normal, y lo que no quiero es que todas las llamas sean reemplazadas, ya que necesito que estas llamas se creen por separado, individualmente, para no reemplazar todas las llamas. también pensé que se activarían al colocar el comando con el que saldrían estas llamas negras y que cuando un tiempo específico pasa de nuevo al sombreador de fuego común, quiero decir que las llamas negras se activan con el comando y con un tiempo específico desaparece este sombreador y vuelve el fuego común, no sé si algo de esto es posible ya que no conozco mucho guión, pero espero que me den alguna opción o me digan qué usar, espero que respondan https://vignette.wikia.nocookie.net/naruto/images/e/e0/Amaterasu.png/revision/latest?cb=20151203010730
  17. DiosSasuke

    help me

    ¿how do I make the explosion and the object appear where I look? here I leave my code objs = {} addCommandHandler ( "explosion", function ( thePlayer ) local x, y, z = getElementPosition ( thePlayer ) local rx, ry, rz = getElementRotation ( thePlayer ) local origX, origY, origZ = getElementPosition ( thePlayer ) local mat = Matrix.create ( x, y, z+20, rx, ry, rz, origX - 30,origY+30,origZ) local forward = ( Matrix.getForward ( mat ) * 4) local pos = ( Matrix.getPosition ( mat ) + forward ) setTimer (createExplosion, 2000, 1,x+10, y, z, 11) objs[thePlayer] = createObject(751, pos) local newZ = origZ +0 moveObject( objs[thePlayer], 2000, origX, origY, origZ) end )
  18. shadow_team = createTeam("shadow",255,0,0) function shadow_func(player) local px,py,pz = getElementPosition(player) setPlayerTeam ( player, shadow_team ) triggerClientEvent(player, "onClientSoundEvent", player) shuk = exports [ "slothbot" ]:spawnBot ( px, py - 3, pz, 0, 164, 0, 0, getPlayerTeam(player), 10, "hunting", true ) setTimer ( function ( ) destroyElement(shuk) end ,500000, 1 ) outputChatBox("Kuchiyose Shadow Mini!", l_1_0, 255, 0, 0, false) end addCommandHandler("shadow-master-obito", shadow_func) How do I make the bot faster and have more life I will leave my code
  19. DiosSasuke

    help

    Hello Could you tell me how this is used? setObjectRotation (object, rotX, rotY, rotZ)
  20. DiosSasuke

    Help

    Could you give me an example? is that I'm new to this
  21. DiosSasuke

    Help

    Hello How do I make it so that when I point to a player and write the command, I create the object where the player is pointed?
  22. is it possible to put the smoke from object 689 to dark purple?
×
×
  • Create New...