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);
}
}
__________________