Id Infront of name
#9

Code:
public OnPlayerText(playerid, text[])
{
     new string[128];
     new Pname[256];
	 GetPlayerName(playerid,Pname,256);
	 format(string,sizeof(string),"{FFDC00}[%i] - %s : {FFFFFF}%s",playerid,Pname,text);
     SendClientMessageToAll(GetPlayerColor(playerid),string);
     return 0;
}
i need the middle %s to have player's colour
Reply


Messages In This Thread
Id Infront of name - by spd_sahil - 06.09.2011, 18:50
Re: Id Infront of name - by Kingunit - 06.09.2011, 18:54
Re: Id Infront of name - by [MWR]Blood - 06.09.2011, 18:54
Re: Id Infront of name - by spd_sahil - 06.09.2011, 19:49
Re: Id Infront of name - by Jafet_Macario - 06.09.2011, 19:56
Re: Id Infront of name - by spd_sahil - 07.09.2011, 04:58
Re: Id Infront of name - by =WoR=Varth - 07.09.2011, 04:59
Re: Id Infront of name - by spd_sahil - 07.09.2011, 05:08
Re: Id Infront of name - by spd_sahil - 07.09.2011, 05:37
Re: Id Infront of name - by [H]ead - 07.09.2011, 05:44

Forum Jump:


Users browsing this thread: 2 Guest(s)