Help with PPC Trucking GM
#2

Create a stock of this however you can modify it to your own.
Код:
stock AdminName(playerid)
{
	new name[32];
	if(PlayerInfo[playerid][pAdmin] == 1) format(name, sizeof(name), "Junior Admin");
	else if(PlayerInfo[playerid][pAdmin] == 2) format(name, sizeof(name), "General Admin");
	else if(PlayerInfo[playerid][pAdmin] == 3) format(name, sizeof(name), "Senior Admin");
	else if(PlayerInfo[playerid][pAdmin] == 6) format(name, sizeof(name), "Lead Admin");
	else if(PlayerInfo[playerid][pAdmin] == 1337) format(name, sizeof(name), "Head Admin");
	else if(PlayerInfo[playerid][pAdmin] == 1338) format(name, sizeof(name), "Server Owner");
	return name;
}
And
format(string, sizeof(string), "|_____Online Admins_____|");
SendClientMessage(playerid, COLOR_ORANGE, string);
If(PlayerInfo[playerid][pAdmin] >=1)
{
format(string, sizeof(string), " %s %s", AdminName(playerid), GetPlayerName(i));
SendClientMessage(playerid, COLOR_HCHAT, string);
}

If you get errors you should modify it on the basis of your script.
Reply


Messages In This Thread
Help with PPC Trucking GM - by MatriXScoT - 28.10.2012, 01:13
Re: Help with PPC Trucking GM - by Laure - 28.10.2012, 01:51
Re: Help with PPC Trucking GM - by shaniyal - 28.10.2012, 05:31
Re: Help with PPC Trucking GM - by MatriXScoT - 31.10.2012, 15:59
Re: Help with PPC Trucking GM - by Mr.Anonymous - 31.10.2012, 17:13
Re: Help with PPC Trucking GM - by Mr.Anonymous - 31.10.2012, 17:19
Re: Help with PPC Trucking GM - by CrazyChoco - 31.10.2012, 17:57

Forum Jump:


Users browsing this thread: 2 Guest(s)