
Posts
54
Respect
12Add +1
Forum Rank
Rotting Walker
Primary Group
Donator ♥
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
hidden_song()
{
count = 0;
trig1 = getEnt("trig1", "targetname");
trig2 = getEnt("trig2", "targetname");
trig3 = getEnt("trig3", "targetname");
trig1 setHintString( "Press and hold to activate Teddy", true );
trig2 setHintString( "Press and hold to activate Teddy", true );
trig3 setHintString( "Press and hold to activate Teddy", true );
self thread tmdewait( trig1 );
self thread tmdewait( trig2 );
self thread tmdewait( trig3 );
while(1)
{
wait 1;
self waittill( "found_one" );
count = count+1;
if( count == 3 )
{
players = get_players();
for(k=0;k<players.size;k++)
{
players[k] playsound("song_name");
}
break;
}
}
}
tmdewait( trig )
{
trig waittill( "trigger", player );
trig delete();
self notify( "found_one" );
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
It looks okay..., you calling it in your .gsc?