#7

Quote:

new x=0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerWantedLevel(i) > 0)
{
format(strx, 64, "%s (ID: %d)\n", name, i);
strcat(stry, strx);
x++;
ShowPlayerDialog(playerid, boop1, DIALOG_STYLE_LIST, "wanted", stry, "OK", "");
}
}
if(x==0) SendClientMessage(playerid, -1, "boop no wanted");

try now
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)