[Ajuda] chat id
#1

queria por a id do player antes do nome, mas a cor da id fica a mesma cor do nome e eu queria deixar branca a id

codigo
PHP код:
static pName[MAX_PLAYER_NAME],string[256];GetPlayerName(playeridpNamesizeof(pName));
    
format(stringsizeof(string), "%d %s: {ffffff}%s",playerid,pNametext);
    
SendClientMessageToAll(GetPlayerColor(playerid), string); 
Reply
#2

pawn Код:
format(string, sizeof(string), "{FFFFFF}%d {%h}%s: {ffffff}%s",playerid,GetPlayerColor(playerid) >>> 8,pName, text);
Tenta assim
Reply
#3

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
pawn Код:
format(string, sizeof(string), "{FFFFFF}%d {%h}%s: {ffffff}%s",playerid,GetPlayerColor(playerid) >>> 8,pName, text);
Tenta assim
vlww.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)