Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
Ok...so how do i make like sounds, and explosions repeative?
Posts: 1,896
Threads: 102
Joined: Oct 2008
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
I would use the function like
"SetTimer,miliseconds"
Posts: 1,896
Threads: 102
Joined: Oct 2008
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
Ok...thanks so when i use the command the explosion will reapt until the timer goes off?
Posts: 1,896
Threads: 102
Joined: Oct 2008
If you set the timer to SetTimer("example",1000,true); it will keep repeating until you kill it with
https://sampwiki.blast.hk/wiki/KillTimer .
If you set the timer to SetTimer("example",1000,false); it will only run the timer for 1 second and then stop. This doesn't mean if you set it to 10000 it will repeat the sound while the timer is being run.
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
oh....that is what i meant but thanks for replying.