21.09.2013, 01:38
pawn Код:
CMD:smfa(playerid, params[])
{
if(PlayerInfo[playerid][Level] >= 4)
{
if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /smfa [Link]");
for(new i; i < MAX_PLAYERS; i++) // loop all the players
{
PlayAudioStreamForPlayer(i, params);
}
}
else return SendClientMessage(playerid,COLOR_RED,"You not hight enough level to use this command");
return 1;
}