Trying to make a /Showbadge
#1

Alright so im trying to make a /showbadge for a faction. I am trying to make it so the line directly below shows the persons name who /showbadge [Then a Playerid].

Код:
        SendClientMessageEx(giveplayerid, COLOR_GRAD2, "Agent %s is a duly sworn member of the FBI.", GetPlayerNameEx(playerid), playerid);
Код:
CMD:showbadge(playerid, params[])
{
	if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
	{
	SendClientMessageEx(giveplayerid, COLOR_GRAD2, "----------------------------------------------------------------------------------------------------");
        SendClientMessageEx(giveplayerid, COLOR_GRAD2, "Agent %s is a duly sworn member of the FBI.", GetPlayerNameEx(playerid), playerid);
	SendClientMessageEx(giveplayerid, COLOR_WHITE, "Current Assignment: General Duties");
	SendClientMessageEx(giveplayerid, COLOR_WHITE, "Under the Authority of the United States Government.");
	SendClientMessageEx(giveplayerid, COLOR_WHITE, "Official has the authority to arrest.");
	SendClientMessageEx(giveplayerid, COLOR_GRAD2, "----------------------------------------------------------------------------------------------------");
	return 1;
}
Reply


Messages In This Thread
Trying to make a /Showbadge - by Johnny_Robins - 18.06.2012, 03:08
Re: Trying to make a /Showbadge - by Dubya - 18.06.2012, 03:21
Re: Trying to make a /Showbadge - by Dubya - 18.06.2012, 03:31
Re: Trying to make a /Showbadge - by Johnny_Robins - 18.06.2012, 03:33
Re: Trying to make a /Showbadge - by Dubya - 18.06.2012, 03:34
Re: Trying to make a /Showbadge - by Johnny_Robins - 18.06.2012, 03:46
Re: Trying to make a /Showbadge - by Dubya - 18.06.2012, 03:49

Forum Jump:


Users browsing this thread: 5 Guest(s)