que codigos? le o que ele escreveu, ele pediu um chat proximo.
Vou Postar O Code aqui porque Nгo entendi nada desse tuto li ele todo nгo emtendi !
pawn Код:
public OnPlayerText(playerid, text[])
{
#if defined DEBUG
format(_largestring, 1280, "[OnPlayerText] \"%s\" - %d, \"%s\"", ReturnPlayerNameEx(playerid), playerid, text);
DebugLog(_largestring);
#endif
new xstr[160];
if(GetPVarInt(playerid, "Muted")) return SendErrorMessage(playerid, -1, "Vocк foi proibido de falar/calado/mutado."), 0;
if(GetPVarInt(playerid, "ChatAnim"))
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
}
if(GetPVarInt(playerid, "SotaqueOn"))
{
format(xstr, 128, "%s [Sotaque %s] diz: %s", ReturnPlayerNameEx(playerid), PlayerInfo[playerid][pSotaque], text);
nearByMessage(playerid, COLOR_FADE1, xstr, 10.0);
}
else
{
format(xstr, 128, "%s diz: %s", ReturnPlayerNameEx(playerid), text);
nearByMessage(playerid, COLOR_FADE1, xstr, 10.0);
}
SetPlayerChatBubble(playerid, xstr, 0xFFFFFFFF, 10, 15000);
print(xstr);
return 0;
}