[Ajuda] ID - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] ID (
/showthread.php?tid=325000)
[Ajuda] ID -
[NVC]Eduardo - 11.03.2012
Eu queria sabe como colocar o [ID] na frente do nick quando fala, alguйm me fala +rep
Re: [Ajuda] ID -
Đeagle - 11.03.2012
Deixa eu vк se entendi.
PHP код:
public OnPlayerText(playerid, text[])
{
new Nome[24];
GetPlayerName(playerid, Nome, 24);
new str[200];
format(str, sizeof(str),"%s [%d]:{FFFFFF} %s", Nome, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), str);
return 0;
}
Re: [Ajuda] ID -
Lucas_Alemao - 11.03.2012
cara vc ja criou um topico com essa duvida e eu tbm respondi ela la
https://sampforum.blast.hk/showthread.php?tid=325044
pawn Код:
public OnPlayerText(playerid, text[])
{
new Nome[24];
GetPlayerName(playerid, Nome, 24);
new str[200];
format(str, sizeof(str),"%s [%d]:{FFFFFF} %s", Nome, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), str);
return 0;
}
Re: [Ajuda] ID -
Abravanel - 11.03.2012
pawn Код:
public OnPlayerText(playerid, text[])
{
new str[128];
format(str, sizeof(str), "[%d] %s", playerid, text);
SendPlayerMessageToAll(playerid, str);
return 0;
}