warning 202: number of arguments does not match definition
#1

Код:
		if(dialogid == DIALOG_BOOMBOX3)
		{
			if(response)
			{
				if(listitem == 0)
				{
                if(GetPVarType(playerid, "BBArea"))
			    {
			        // ovdje proxy
			        foreach(new i : Player)
					{
			            if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
			            {
			                StopStream(i);
						}
					}
			        DeletePVar(playerid, "BBStation");
				}
				SendClientMessage(playerid, -1, "Ugasili ste vas Boombox.");
				}
				else if(listitem == 1)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://slusaj.yub-radio.com:9958", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "BBStation", "http://slusaj.yub-radio.com:9958");
				}
				}
				else if(listitem == 2)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://stream.electricfm.com", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "BBStation", "http://stream.electricfm.com");
				}
				}
				else if(listitem == 3)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://streaming.tdiradio.com:800/house", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "BBStation", "http://streaming.tdiradio.com:800/house");
				}
				}
				else if(listitem == 4)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://wm.1.fm/dubstep/128.m3u", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "BBStation", "http://wm.1.fm/dubstep/128.m3u");
				}
				}
				else if(listitem == 5)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://50.7.77.178:8094", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "BBStation", "http://50.7.77.178:8094");
				}
				}
				else if(listitem == 6)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://stream.laut.fm/best_of_80s", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://stream.laut.fm/best_of_80s");
				}
				}
				else if(listitem == 7)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://str4uice.streamakaci.com/4uclassicrock.mp3", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://str4uice.streamakaci.com/4uclassicrock.mp3");
				}
				}
				else if(listitem == 8)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://pub8.jazzradio.com:80/jr_smoothjazz247", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://pub8.jazzradio.com:80/jr_smoothjazz247");
				}
				}
				else if(listitem == 9)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://199.101.51.168:8004", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://199.101.51.168:8004");
				}
				}
				else if(listitem == 10)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://195.222.57.33:8090", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://195.222.57.33:8090");
				}
				}
				else if(listitem == 11)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://balkan.dj.topstream.net:8070", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://balkan.dj.topstream.net:8070");
				}
				}
				else if(listitem == 12)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://50.7.98.107:8419/", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://50.7.98.107:8419/");
				}
				}
				else if(listitem == 13)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://78.47.39.139:8100", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://78.47.39.139:8100");
				}
				}
				else if(listitem == 14)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://176.9.30.66:80/cool64", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://176.9.30.66:80/cool64");
				}
				}
				else if(listitem == 15)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://live.okradio.net:8000", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://live.okradio.net:8000");
				}
                }
				else if(listitem == 16)
				{
				if(GetPVarType(playerid, "PostavioBB"))
				{
				    foreach(new i : Player)
					{
						if(IsPlayerInDynamicArea(i, GetPVarInt(playerid, "BBArea")))
						{
							PlayStream(i, "http://192.240.102.133:12055/stream.aac", GetPVarFloat(playerid, "BBX"), GetPVarFloat(playerid, "BBY"), GetPVarFloat(playerid, "BBZ"), 30.0, 1);
				  		}
				  	}
			  		SetPVarString(playerid, "http://192.240.102.133:12055/stream.aac");
				}
				}
			else AC_ShowPlayerDialog(playerid,1000,DIALOG_STYLE_LIST,"{6EF83C}VIP Racun","Koristi opciju\nAktiviraj opciju\nStanje VIPa\nVise o aktivaciji","Uredu","Izlaz");
		}
		}
I have this warning:
Код:
 
warning 202: number of arguments does not match definition
On every line where is: SetPVarString(playerid, "http://192.240.102.133:12055/stream.aac");
Reply


Messages In This Thread
warning 202: number of arguments does not match definition - by Pachino - 02.09.2018, 23:20
Re: warning 202: number of arguments does not match definition - by Dayrion - 02.09.2018, 23:27
Re: warning 202: number of arguments does not match definition - by Shinja - 02.09.2018, 23:43

Forum Jump:


Users browsing this thread: 1 Guest(s)