23.09.2013, 15:30
Try this instead for 2 seconds and tell me if the command works, it's not suppose to play the sound with the following code, just want to see if it's a problem with the audio stream.
PS: Why are you only playing the sound for the "playerid", when you've looped all the players online with the variable of "mindenki"?.
pawn Код:
if (strcmp("/hirado", cmdtext, true, 10) == 0)
{
new string[128],name[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"{FF0000}Hнradу kцvetkezik! A stъdiуban {0099FF}%s!",name);
SendClientMessageToAll(0xFF000000,string);
return 1;
}

