Hey guys, been wondering how can I play a sound to all clients ( clearly, as if they have played it themselves using the play command ) without going through this bs?
Code:
new playersconnected;
playersconnected = GetMaxClients();
for (new i = 1; i <= playersconnected; i++)
{
if(IsClientInGame(i))
{
ClientCommand(i,"play km/goodbye.wav");
}
}