#1

loops in samp are weird. it's supposed to show the client message if the dialog is empty (no players with wanted level) but it shows up no matter what. what is going on? :<

Код:
		if(GetPlayerWantedLevel(i) > 0)
		{
			format(strx, 64, "%s (ID: %d)\n", name, i);
			strcat(stry, strx);
			
			ShowPlayerDialog(playerid, boop1, DIALOG_STYLE_LIST, "wanted", stry, "OK", "");
		}
		else if(GetPlayerWantedLevel(i) < 1)
		{
			SendClientMessage(playerid, -1, "boop no wanted");
			break;
		}
Reply


Messages In This Thread
loop - by cdoubleoper - 11.08.2018, 19:06
Re: loop - by KinderClans - 11.08.2018, 19:31
Re: loop - by cdoubleoper - 11.08.2018, 19:57
Re: loop - by Kraeror - 11.08.2018, 20:07
Re: loop - by KinderClans - 11.08.2018, 20:08
Re: loop - by cdoubleoper - 11.08.2018, 20:14
Re: loop - by Florin48 - 11.08.2018, 20:27
Re: loop - by cdoubleoper - 11.08.2018, 20:35
Re: loop - by Florin48 - 11.08.2018, 20:40
Re: loop - by NeXTGoD - 11.08.2018, 20:55

Forum Jump:


Users browsing this thread: 1 Guest(s)