You are viewing our Forum Archives. To view or take place in current topics click here.
How do i loop this sound effect ?? +reppp pleasee help moi
Posted:

How do i loop this sound effect ?? +reppp pleasee help moiPosted:

freeWaWlobby
  • Resident Elite
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 247
Reputation Power: 10
Status: Offline
Joined: Jan 10, 201113Year Member
Posts: 247
Reputation Power: 10
lasergun()
{
self iPrintlnbold( "Laser gun FX activated" );
self waittill ( "weapon_fired" );
self playsound( "tele_spark_hit" );

With this code i shoot once and it plays the effect but after that it goes back to its normal gun sound, anyone know how to like loop it ??

Thank you
#2. Posted:
-Dino
  • V5 Launch
Status: Offline
Joined: Jan 26, 201113Year Member
Posts: 1,512
Reputation Power: 69
Status: Offline
Joined: Jan 26, 201113Year Member
Posts: 1,512
Reputation Power: 69
freeWaWlobby wrote lasergun()
{
self iPrintlnbold( "Laser gun FX activated" );
self waittill ( "weapon_fired" );
self playsound( "tele_spark_hit" );

With this code i shoot once and it plays the effect but after that it goes back to its normal gun sound, anyone know how to like loop it ??

Thank you

lasergun()
{
for(;;)
{
self iPrintlnbold( "Laser gun FX activated" );
self waittill ( "weapon_fired" );
self playsound( "tele_spark_hit" );
}
}
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.