Raised This Month: $32 Target: $400
 8% 

Solved [REQ] Sound plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
killer999
Senior Member
Join Date: Dec 2013
Location: India
Old 08-06-2018 , 04:23   [REQ] Sound plugin
Reply With Quote #1

Just need a sound plugin which can emit the sound after x seconds of joining
i dont want it to play from the start
__________________

Last edited by killer999; 09-03-2018 at 01:50.
killer999 is offline
Send a message via Skype™ to killer999
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 08-06-2018 , 06:01   Re: [REQ] Sound plugin
Reply With Quote #2

You can search for Welcome Sounds/Welcome Player Message. Both these do play a message after client_putinserver is triggered. A short delay of 3s.
__________________
Relaxing is offline
killer999
Senior Member
Join Date: Dec 2013
Location: India
Old 08-06-2018 , 07:28   Re: [REQ] Sound plugin
Reply With Quote #3

Quote:
Originally Posted by Relaxing View Post
You can search for Welcome Sounds/Welcome Player Message. Both these do play a message after client_putinserver is triggered. A short delay of 3s.
but i want delay in minutes therefore i requested here
__________________
killer999 is offline
Send a message via Skype™ to killer999
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 08-06-2018 , 08:46   Re: [REQ] Sound plugin
Reply With Quote #4

https://forums.alliedmods.net/showthread.php?t=222221
Edit that the way you really like.
__________________
Relaxing is offline
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 08-06-2018 , 08:55   Re: [REQ] Sound plugin
Reply With Quote #5

Quote:
Originally Posted by killer999 View Post
but i want delay in minutes therefore i requested here
1min = 60s
Airkish is offline
killer999
Senior Member
Join Date: Dec 2013
Location: India
Old 08-06-2018 , 09:39   Re: [REQ] Sound plugin
Reply With Quote #6

Quote:
Originally Posted by Airkish View Post
1min = 60s
dafaq

Code:
#include <amxmodx> 

#define PLUGIN "sound" 
#define VERSION "1.0" 
#define AUTHOR "c0Smos" 

public client_putinserver(id) 
{ 
    set_task(180.0, "Welcome_sound", id);  //emit sound after 3 mins 
} 

public plugin_precache()
{
    precache_sound("misc/adminsOnline.mp3")
}
Am i right ??
__________________
killer999 is offline
Send a message via Skype™ to killer999
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-06-2018 , 09:44   Re: [REQ] Sound plugin
Reply With Quote #7

Quote:
Originally Posted by killer999 View Post
dafaq

Code:
#include <amxmodx> 

#define PLUGIN "sound" 
#define VERSION "1.0" 
#define AUTHOR "c0Smos" 

public client_putinserver(id) 
{ 
    set_task(180.0, "Welcome_sound", id);  //emit sound after 3 mins 
} 

public plugin_precache()
{
    precache_sound("misc/adminsOnline.mp3")
}
Am i right ??
No, you're not. Where is Welcome_sound that you're executing?
__________________
edon1337 is offline
killer999
Senior Member
Join Date: Dec 2013
Location: India
Old 08-06-2018 , 09:51   Re: [REQ] Sound plugin
Reply With Quote #8

Quote:
Originally Posted by edon1337 View Post
No, you're not. Where is Welcome_sound that you're executing?
Now ??
Code:
#include <amxmodx> 

#define PLUGIN "sound" 
#define VERSION "1.0" 
#define AUTHOR "c0Smos" 

public client_putinserver(id) 
{ 
    set_task(180.0, "Welcome_Message", id); 
} 

public plugin_precache()
{
    precache_sound("misc/adminsOnline.wav")
}


public Welcome_Message(id) 
{  
        client_cmd(0,"spk misc/adminsOnline")
}
__________________
killer999 is offline
Send a message via Skype™ to killer999
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode