Duda sobre colores.
#1

Hola amigos, entonces mi duda es si ahi alguna forma de que un player tenga un color en el chat del samp y otro color en el minimap, por ejemplo que en el minimap el color sea negro y en el chat el color sea blanco, se puede?

Antemano Gracias!
Reply
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[250], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(string, 250, "%s: {ffffff}%s", name, text);
    SendClientMessageToAll(0xffff00ff, string);//cambia 0xffff00ff por el color que quieras usar en el jugador
    return 0;
}
Es lo que se me ocurre.
Reply
#3

Quote:
Originally Posted by Bu11Sh0t
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[250], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(string, 250, "%s: {ffffff}%s", name, text);
    SendClientMessageToAll(0xffff00ff, string);//cambia 0xffff00ff por el color que quieras usar en el jugador
    return 0;
}
Es lo que se me ocurre.
Perfecto
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)