23.11.2011, 14:53
i try to play a sound 4 everyone...
this is my code:
[pwn]
if(strcmp(cmdtext, "/join", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayAudioStreamForPlayer(i, "http://www.e-jessen.de/joinmeister.mp3");
return 1;
}
else return 1;
}
}[/pwn]
ive tried to play it 4 my self and it works...
why does it not play 4 everyone on the server?
this is my code:
[pwn]
if(strcmp(cmdtext, "/join", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayAudioStreamForPlayer(i, "http://www.e-jessen.de/joinmeister.mp3");
return 1;
}
else return 1;
}
}[/pwn]
ive tried to play it 4 my self and it works...
why does it not play 4 everyone on the server?