[Help] burning house
#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


Messages In This Thread
[Help] burning house - by Eduardo_MK - 28.11.2009, 19:05
Re: [Help] burning house - by dice7 - 28.11.2009, 19:24

Forum Jump:


Users browsing this thread: 2 Guest(s)