Jump to content

How i can check that if the fire destroyed?


iPrestege

Recommended Posts

Posted

There's no way to know that.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

And how are you going to do that? the fire isn't an element.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
And how are you going to do that? the fire isn't an element.

But what if use these functions :

createElement 
setElementParent 

Ex :

local Element = createElement("Fire") 
local x,y,z = getElementPosition(localPlayer) 
fire = createFire(x,y+1,z,8) 
setElementParent(fire, Element) 

P.S : I'm not sure that it is the correct way to do that.

  

Posted
And how are you going to do that? the fire isn't an element.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

createFire returns a boolean ( true/false ), not an element.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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