SA-MP Forums Archive
About 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: About smoke grenade (/showthread.php?tid=626462)



About smoke grenade - AndreiWow - 15.01.2017

Hey, I want to force the player into an anim if he enters a smoke grenade but I couldn't find any way to detect it, my question is, how can I detect where the player throw the grenade so I create an object there and detect if a player is near that object.


Re: About smoke grenade - ISmokezU - 15.01.2017

You mean teargas? i think check if the issuer weapon is teargas then do w/e you want.

Or:
https://sampforum.blast.hk/showthread.php?tid=470150
https://sampforum.blast.hk/showthread.php?tid=155456


Re: About smoke grenade - AndreiWow - 15.01.2017

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
You mean teargas? i think check if the issuer weapon is teargas then do w/e you want.

Or:
https://sampforum.blast.hk/showthread.php?tid=470150
https://sampforum.blast.hk/showthread.php?tid=155456
Thanks for links, rep+


Re: About smoke grenade - ISmokezU - 15.01.2017

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
Thanks for links, rep+
Lol,by me doing that i actually helped myself with an idea so,thanks for the idea as well