Kick command showing an unwanted error.
#4

Did it not compile well?
EDIT:This is also a problem of mine,/admins shows only for my level and when i set the other player's level,it shows for himself and not for both.
Код:
CMD:admins(playerid,params[])
{
	new admin = 0;
	new string[128];
	new PlayerName[28];
	GetPlayerName(playerid, PlayerName, 28);
	admin++;
 	for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][pAdmin] > 0)
        {
            format(string,sizeof(string),"The following admin(s) are currently online:\nName: %s Level: %d ID: %i\n",PlayerName,PlayerInfo[i][pAdmin],i);
            ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Online Admins",string,"Okay","Close");
            return 1;
        }
    }
}
Help me with this also.I do not want to create multiple threads for all my problems.
Reply


Messages In This Thread
Kick command showing an unwanted error. - by Accent - 17.11.2014, 07:03
Re: Kick command showing an unwanted error. - by OsteeN - 17.11.2014, 07:10
Re: Kick command showing an unwanted error. - by Zex Tan - 17.11.2014, 07:38
Re: Kick command showing an unwanted error. - by Accent - 17.11.2014, 07:40
Re: Kick command showing an unwanted error. - by OsteeN - 17.11.2014, 08:00
Re: Kick command showing an unwanted error. - by Accent - 17.11.2014, 08:11
Re: Kick command showing an unwanted error. - by Banana_Ghost - 17.11.2014, 08:52
Re: Kick command showing an unwanted error. - by OsteeN - 17.11.2014, 09:08
Re: Kick command showing an unwanted error. - by Accent - 17.11.2014, 11:51
Re: Kick command showing an unwanted error. - by Banana_Ghost - 18.11.2014, 03:53

Forum Jump:


Users browsing this thread: 1 Guest(s)