How to detect smoke grenade - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to detect smoke grenade (
/showthread.php?tid=335030)
How to detect smoke grenade -
Abreezy - 16.04.2012
How could I detect if a player is near the area where a smoke grenade was thrown? I couldn't think of any ways of doing this, so decided to ask here, thanks in advance for any feedback.
Re: How to detect smoke grenade -
Shetch - 16.04.2012
I'm not quite sure, but i guess you could check if a player is near an object.
The smoke can that the player throws.
Re: How to detect smoke grenade -
Shetch - 16.04.2012
Sorry for double posting, but i found the object ID. It's 343.
https://sampwiki.blast.hk/wiki/Weapons
Respuesta: How to detect smoke grenade -
Francis. - 16.04.2012
You can't detect where the smoke grenade fell. There's no function to detect it yet or It will never be.