okaaaay
i guess like this:
Code:
#include <amxmodx>
#define MAXSOUNDS 2
new soundlist[MAXSOUNDS][] = {"Prologue","Nightwish"}
new i
public precache() {
i = random_num(0,MAXSOUNDS-1)
if (i == 0) {
precache_sound("mp3/Prologue.mp3")
}
if (i == 1) {
precache_sound("mp3/Nightwish.mp3")
}
}
public plugin_init() {
register_plugin("ConnectSound","1.0","[ --<-@ ]")
}
public client_authorized(id) {
client_cmd(id,"mp3 play mp3/%s",soundlist[i])
}
when exactly is that called... it says "when a player has authenticated with Steam" but i dont know what that is ;P