/admins Bug
#1

Код:
if(strcmp("/admins",cmdtext,true) == 0)
	{
	new string[128];
	new name[20];
	for(new i; i<MAX_PLAYERS; i++)
	{
	if(GetPVarInt(i,"Aduty") == 1)
	{
	if(Spieler[i][AdminLevel] >= 1)
	{
	GetPlayerName(i, name, sizeof(name));
	format(string, sizeof(string), "Level: 1  Admin[ID: %d]: %s ",i,name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	}
	if(Spieler[i][AdminLevel] == 2)
	{
	GetPlayerName(i, name, sizeof(name));
	format(string, sizeof(string), "Level: 2  Admin[ID: %d]: %s ",i,name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	}
	if(Spieler[i][AdminLevel] == 3)
	{
	GetPlayerName(i, name, sizeof(name));
	format(string, sizeof(string), "Level: 3  Admin[ID: %d]: %s ",i,name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	}
	if(Spieler[i][AdminLevel] == 4)
	{
	GetPlayerName(i, name, sizeof(name));
	format(string, sizeof(string), "Level: 4  Admin[ID: %d]: %s ",i,name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	}
	if(Spieler[i][AdminLevel] == 5)
	{
	GetPlayerName(i, name, sizeof(name));
	format(string, sizeof(string), "Level: 5  Admin[ID: %d]: %s ",i,name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	}
	if(Spieler[i][AdminLevel] == 6)
	{
	GetPlayerName(i, name, sizeof(name));
	format(string, sizeof(string), "Level: 6  Admin[ID: %d]: %s ",i,name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	}
	if(Spieler[i][AdminLevel] == 7)
	{
	GetPlayerName(i, name, sizeof(name));
	format(string, sizeof(string), "Level: 7  Admin[ID: %d]: %s ",i,name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	}}}
	return 1;
}


You know the Bug? Please help me.

]B4E[kengston
Reply


Messages In This Thread
/admins Bug - by ]B4E[kengston - 14.01.2011, 16:10
Re: /admins Bug - by Jochemd - 14.01.2011, 16:12
Re: /admins Bug - by Mauzen - 14.01.2011, 16:15
Re: /admins Bug - by Jochemd - 14.01.2011, 16:16
AW: /admins Bug - by ]B4E[kengston - 14.01.2011, 16:23
Re: /admins Bug - by Jochemd - 14.01.2011, 16:31

Forum Jump:


Users browsing this thread: 3 Guest(s)