/admins
#1

Ok, I have an /admins command i would like to change something but im not sure how??
Here it is:
Код:
if (strcmp(cmd, "/admins", true) == 0)
	{
        if(IsPlayerConnected(playerid))
	    {
			SendClientMessage(playerid, COLOR_RED, " ** Admins Online: **");
			for(new i = 0; i < MAX_PLAYERS; i++)
			{
				if(IsPlayerConnected(i))
				{
				    if(PlayerInfo[i][pAdmin] >= 1)
				    {
						GetPlayerName(i, sendername, sizeof(sendername));
						format(string, 256, "|*| Admin: %s |*|", sendername);
						SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
					}
				}
			}
		}
		return 1;
	}
Well im owner and when someone does /admins i want it to show me as Owner: %s
instead of Admin: %s


things to add:
Owner: %s - my name "Luco_Corleone"
Co-Cowner: %s - his name "Anderson_Matthews"
Reply


Messages In This Thread
/admins - by Master™ - 08.07.2010, 22:11
Re: /admins - by [HiC]TheKiller - 08.07.2010, 22:41
Re: /admins - by Master™ - 08.07.2010, 23:40

Forum Jump:


Users browsing this thread: 1 Guest(s)