"/admins" command
#4

MY COMMAND :
Код:
	COMMAND:adminson(playerid, inputtext[])
	{
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
			if(IsPlayerConnected(i) && PlayerInfo[i][pAdmin] >= 1)
			{
			        SPM(playerid, 0xAA3333AA, "== ADMINS ON‌LINE ==");
			   		new string[100],name[MAX_PLAYER_NAME];
                                                 GetPlayerName(i,name,sizeof(name));
				    format(string, sizeof(string), "ADMIN %s[ID: %d] ; LEVEL %d", name, i, PlayerInfo[i][pAdmin]);
				    SPM(playerid, 0xB8860BFF, string);
				    SPM(playerid, 0xAA3333AA, "== ADMINS ON‌LINE ==");
			}
		}
	}
Just try to change with your specific variables, if you can't, tell me I will customize by your codes.
Reply


Messages In This Thread
"/admins" command || PICTURE ADDED! - by Guitar - 24.08.2012, 09:27
Re: "/admins" command - by Guitar - 24.08.2012, 09:29
Re: "/admins" command - by DarkB0y - 24.08.2012, 09:59
Re: "/admins" command - by preda98 - 24.08.2012, 10:02
Re: "/admins" command - by Guitar - 24.08.2012, 10:04
Re: "/admins" command - by preda98 - 24.08.2012, 10:06
Re: "/admins" command - by Guitar - 24.08.2012, 10:18

Forum Jump:


Users browsing this thread: 3 Guest(s)