SetPlayerAttachedObject - 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: SetPlayerAttachedObject (
/showthread.php?tid=456257)
SetPlayerAttachedObject -
Kudoz - 05.08.2013
Hello!
I have a cmd that adds a particle effect over my head. Once I do the cmd, the particle effect begins, but it happens only one time, if you understand what I mean here.. How can I make it repeat? Is it something made for this or should I use Timers?
Re: SetPlayerAttachedObject -
CutX - 05.08.2013
that's how it works :/ for example, if u create a explosion somewhere, it will also explode just once.
to let it happen multiple times, you could set a timer destroying and creating the patricle effect every second.
But i don't suggest something like that, cuz it's eating ur ram rly hard. if, for example, 30 ppls run that timer at the same time.
maybe you choose a different particle effect. there are some which "last" forever, so you dont need to destroy and create them again