Jump to content

DiosSasuke

Members
  • Posts

    47
  • Joined

  • Last visited

About DiosSasuke

  • Birthday 06/11/1999

Recent Profile Visitors

1,422 profile views

DiosSasuke's Achievements

Rat

Rat (9/54)

0

Reputation

  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
×
×
  • Create New...