SA-MP Forums Archive
[Ajuda] Por que acontece isso? - 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] Por que acontece isso? (/showthread.php?tid=463774)



Por que acontece isso? - xxRaioxx - 13.09.2013

Olб, eu coloquei no OnPlayerText para aparecer assim:

pawn Код:
public OnPlayerText(playerid, text[])
{
    new pname[MAX_PLAYER_NAME], string[100];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), " ({00FF00} %s {74008C} ) : %s ", pname, text);
    SendClientMessageToAll(Roxo, string);
    return 1;
}
Sу que envia a mensagem ai do OnPlayerText, e a original do SAMP, alguйm ajuda?


Re: Por que acontece isso? - Kuddy - 13.09.2013

pawn Код:
public OnPlayerText(playerid, text[])
{
    new pname[MAX_PLAYER_NAME], string[100];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), " ({00FF00} %s {74008C} ) : %s ", pname, text);
    SendClientMessageToAll(Roxo, string);
    return 0;
}



Re: Por que acontece isso? - xxRaioxx - 13.09.2013

Obrigado funcionou, o outro dia, deletei isso aн, esqueci e coloquei return 0; , daн nгo apareceu nada, mas agora deu!Valeu ! Nгo consigo te dar +rep!


Re: Por que acontece isso? - iTzDemon - 13.09.2013

tambem vou dar rep tb me ajudou