Help Me Please
#2

Try this i hope it works
Quote:

CMD:vips(playerid, params[])
{
#pragma unused params
new
count = 0,
string[800];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
if(PlayerInfo[i][dRank] >= 1)
{
format(string, 500, "%s %s [ID:%i] | DonorLevel: %d\n", string, PlayerName2(i), i, PlayerInfo[i][dRank]);
//We are appending the string, so put %s before any new data is added,
//and that parameter actually refers to the string itself.
count++;
}
}
}
if (count == 0) ShowPlayerDialog(playerid, 800, DIALOG_STYLE_MSGBOX, "{F81414}=Online Donators=", "{00FFEE}No Donators Online\n{00FF00}_____", "Close", "");
else ShowPlayerDialog(playerid, 800, DIALOG_STYLE_MSGBOX, "{F81414}=Online Donators=", string, "Close", "");
return 1;
}

Reply


Messages In This Thread
Help Me Please - by Filbert - 10.06.2016, 08:14
Re: Help Me Please - by CarRamper - 10.06.2016, 08:20
Re: Help Me Please - by CarRamper - 10.06.2016, 08:29
Re: Help Me Please - by Stinged - 10.06.2016, 08:31
Re: Help Me Please - by CarRamper - 10.06.2016, 08:34

Forum Jump:


Users browsing this thread: 1 Guest(s)