Id Infront of name
#10

pawn Code:
public OnPlayerText(playerid, text[])
{
     static string[128];
     GetPlayerName(playerid, string, MAX_PLAYER_NAME); // fix name

     format(string,sizeof string ,"[%d] %s:{FFFFFF} %s",playerid, string,text); // fix colour :d

     SendClientMessageToAll(GetPlayerColor(playerid),string);
     return 0;    
}
sdp and Jafet_Macario:
Your code send all messages with color FFDC00 and FFFF00

Blood
Your code cause undefined symbol, and send ALL message with one color
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: 1 Guest(s)