Help +rep error invalid expression
#2

PHP код:
CMD:stream(playerid,params[])
{
if(
IsPlayerVipType(playerid,2))
{
new 
url[200];
if(
sscanf(params,"s[200]"url)) return SendClientMessage(playerid0x9C9C9CAA"Syntax: /stream [url]");
foreach(new 
iPlayer)
{
PlayAudioStreamForPlayer(iurl);
new 
string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"%s has stream the music [%s]",pNameurl);
SendClientMessageToAll(-1"Use /shh to stop the music");
}
} else return 
SendClientMessage(playeridCOLOR_RED"ERROR: You not is a Silver or Gold Member!");
return 
1;

Try This
Reply


Messages In This Thread
Help +rep error invalid expression - by haridz - 01.10.2014, 08:24
Re: Help +rep error invalid expression - by amirab - 01.10.2014, 09:37
Re: Help +rep error invalid expression - by Jdt - 01.10.2014, 09:41
Re: Help +rep error invalid expression - by amirab - 01.10.2014, 09:43

Forum Jump:


Users browsing this thread: 1 Guest(s)