Raised This Month: $ Target: $400
 0% 

[BUG] - Welcome Sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Yusochan
Member
Join Date: Sep 2021
Location: Algeria
Old 12-08-2021 , 16:10   [BUG] - Welcome Sound
Reply With Quote #1

Hello !

When i join the server the sound doesn't play..

Code:
#include <amxmodx>

new const szPLUGIN[] = "Welcome kho", szVERSION[] = "2.0", szAUTHOR[] = "YusoChan-";

new const szWelcome[] = "sound/misc/welcome.wav";

public plugin_init() {
	
	register_plugin(szPLUGIN, szVERSION, szAUTHOR);
}

public client_connect(id) {
	set_task(3.0, "Welcome", id);
}

public plugin_precache()
{
	precache_sound(szWelcome);
}

public Welcome(id)
{
	if(is_user_connected(id)) {
		client_cmd(id, "spk welcome.wav", szWelcome);
	}
}
__________________
<b>IP : <font color=Red>93.115.53.168:27017</font></b>
<b>Founder : <font color=Cyan>YusoChan-</font></b>
Yusochan is offline
 


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 11:36.


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