Jump to content

armyOFshadows

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by armyOFshadows

  1. fire will be disapper if no water hit it too i want to stop disapper fire i create by script then sync her health with fireman guns its my idea
  2. after a few search i find a idea to health bar for fire and sync spawn fire what got loop until a var is true var got false at start func func will spawn a invis ped with undamage from fire and explode with a health bar on it and his health only got loose by extinguish weapons(firetruck,handly extinguisher) and when health got end func stop from run tell me your view and help about do it
  3. hi you help me up and i wont anyone to give me full script,just talk about how to apply my ideas on fire script like how spawn a fire? with createfire()
  4. welcome there dear to create fire script for fd job there is my idea is spawn fire at given location, 1.createfire() now extinguish progress: 2.fires spawn with a health bar on them to show health of fire ?now the fire spawned but be disappear after moment as it was ?there i want fire keep burn till end health what we name it extinguish by fireman ?and a progress bar on fire, what show fire extinguish situation when i search for bars i see ped health bar and try to it on some box object, and it was not success and i know it must be diffrent help me to sync health bar for fire
  5. good, setTimer handle loop time too now i can work for more items i need. thank you
  6. tell me if you have any discord or ts for talk or chat,i cant send pm there i test it to see what gone diffrent with timer func
  7. oh with this simple example i know how to use math.random exact,and thank you. and about loop, i need it for spawn bigger fire(not so big). and why we use it on a timer func?
  8. hi thank you for answering, its firsts part of fire dept script i want to create, and in my mind a function must be there for spawn fire in a random position of my wichs we add there to function, then fire spawned in one of 3 or 5 or #? location we set before and you know it marker and chats after it start to tell fd.its all prob around choose one pos from all poses i want give there, so fire every time spawn in one of positions we set.the fire command is for test too, i will delete it and changed by auto function later
  9. hello dear ,every body who read this topic there i have create script for spawn fire for firedept as i say to you first array positions as function setfire (commandName,size) local rpos = {{0,0,3.5},{3,3,3.5},{5,5,3.5}} for i = 1, 3 do createFire(myrandomvar,(size)) end outputChatBox ("fire start in pos "..x.."") end addCommandHandler("fire",setfire) i have look on topics and see a few tips like use math.random() or table , but cant undrestand enough them. help me for this situation ?
×
×
  • Create New...