[Help] burning house
#1

hi,

may catch fire house randomness?, for firefighters(fireman) to extinguish the fire

excuse my English is very bad, my native language is Spanish

bye, thank you
Reply
#2

The only way you can make fire via scripting is by making explosions. And I doubt there is a way to detect if you have extinguished the flames.

But you can create objects which are on fire (search). They don't make the fire spread, but you can make that if a player is near it and is holding the fire button for some amount of time, you can then destroy the object

https://sampwiki.blast.hk/wiki/CreateObject
https://sampwiki.blast.hk/wiki/DestroyObject
https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/GetPlayerKeys or https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)