Create command /admins in dialog [ERROR]
#9

Quote:
Originally Posted by Tihoy232
Посмотреть сообщение
CMD:admins()
{
new string[300], fstring[64], adminname[25];
for(new i=0; i<MAX_PLAYERS; i++)
{

if(Admin i=0; && IsPlayerConnected(i))
{
GetPlayerName(i,adminname, sizeof(adminname));
format(fstring, sizeof(fstring),"%s (%i) - {FF0000}Level: %i{FFFFFF}\n", adminname, i,Admin[i]);
strcat(string, fstring, sizeof(string));
}
}
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"O nline Admins",string,"OK","");
return 1;
}

Please Help me Change declaration or Function
Quote:
Originally Posted by ForCop
Посмотреть сообщение
he's already big, he knows how to put it "playerid"
i see, then he could have did that instead of posting here.

Anyhow, his problem got fixed!
Reply


Messages In This Thread
Create command /admins in dialog [ERROR] - by Tihoy232 - 27.03.2018, 08:25
Re: Create command /admins in dialog [ERROR] - by Mike861 - 27.03.2018, 08:26
Re: Create command /admins in dialog [ERROR] - by Tihoy232 - 27.03.2018, 08:28
Re: Create command /admins in dialog [ERROR] - by Florin48 - 27.03.2018, 08:41
Re: Create command /admins in dialog [ERROR] - by ForCop - 27.03.2018, 08:57
Re: Create command /admins in dialog [ERROR] - by Stev - 27.03.2018, 09:03
Re: Create command /admins in dialog [ERROR] - by UFF - 27.03.2018, 14:43
Re: Create command /admins in dialog [ERROR] - by ForCop - 27.03.2018, 14:49
Re: Create command /admins in dialog [ERROR] - by UFF - 27.03.2018, 14:57
Re: Create command /admins in dialog [ERROR] - by ForCop - 27.03.2018, 15:04

Forum Jump:


Users browsing this thread: 1 Guest(s)