Black Chat Text Help?
#1

All chat is fine except my /n command I decided to try add in to my gamemode. It's all black which is strange because the hex code isn't black. I've tested with other colors and come to the conclusion that somewhere my coding is wrong. Someone mind pointing out my error? Heres my code below, thanks in advance
Code:
CMD:n(playerid, params[])
{
    new tmpstring[164], name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
    if(sscanf(params, "s[128]", tmpstring))
    {
    	SendClientMessage(playerid, LIME, "ERROR: Usage /n [message]");
        return 1;
    }
    else
    {
        format(tmpstring, sizeof(tmpstring), "(NEWBIE) %s: %s ", name, tmpstring);
        SendClientMessageToAll(GetPlayerColor(playerid), tmpstring);
    }
    return 1;
}
Reply


Messages In This Thread
Black Chat Text Help? - by KiiD - 11.06.2012, 14:25
Re: Black Chat Text Help? - by JhnzRep - 11.06.2012, 14:28
Re: Black Chat Text Help? - by KiiD - 11.06.2012, 14:30
Re: Black Chat Text Help? - by Jonny5 - 11.06.2012, 14:36
Re: Black Chat Text Help? - by KiiD - 11.06.2012, 14:40
Re: Black Chat Text Help? - by [Diablo] - 11.06.2012, 14:42
Re: Black Chat Text Help? - by JhnzRep - 11.06.2012, 14:51
Re: Black Chat Text Help? - by Kudoz - 04.12.2012, 14:44
Re: Black Chat Text Help? - by Konstantinos - 04.12.2012, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)