problema al hablar
#1

tengo un problema de la nada en miserver la gente empezo a hablar pero decia ejemplo
Nombre Apellido Dice: hola
Nombre_Apellido: Hola

se repetia...
y lo leian todos que peude ser?
por favor ayuda, uso gm zenon city.
Reply
#2

OnPlayerText <= Se necesita que pases este callback
Reply
#3

a donde lo paso?
Reply
#4

Quote:
Originally Posted by Bu11Sh0t
Посмотреть сообщение
OnPlayerText <= Se necesita que pases este callback
Quote:
Originally Posted by kn9w
Посмотреть сообщение
a donde lo paso?
La idea es que nos muestres el callback de OnPlayerText...
Reply
#5

Retorna 0 (return 0) cuando envies el mensaje.
Reply
#6

aca esta
pawn Код:
public OnPlayerText(playerid, text[])
{
    new sendername[MAX_PLAYER_NAME],string[256],tmp[32];
    new giveplayer[MAX_PLAYER_NAME];
    if(Muted[playerid] == 1)
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, "* ЎHas sido silenciado!");
        return 0;
    }
    if(strfind(text, "xD", true) != -1 || strfind(text, "admin", true) != -1 || strfind(text, ":D", true) != -1 || strfind(text, "-.-", true) != -1 || strfind(text, ":P", true) != -1 || strfind(text, "MG", true) != -1 || strfind(text, "DM", true) != -1)
        {
            SendClientMessage(playerid,0xEA7971FF,"No Hagas MG! eso va vнa /B [OOC]");
        return 0;
        }
        if(strfind(text, "server", true) != -1 || strfind(text, "duty", true) != -1 || strfind(text, "antirol", true) != -1 || strfind(text, "spam", true) != -1 || strfind(text, ":S", true) != -1 || strfind(text, "faccion", true) != -1 || strfind(text, "xDD", true) != -1)
        {
        SendClientMessage(playerid,0xEA7971FF,"No Hagas MG! eso va vнa /B [OOC]");
        return 0;
        }
        if(strfind(text, "184.22.115.118:7777", true) != -1 || strfind(text, "198.136.57.180:5966", true) != -1 || strfind(text, "AvellanedaRP", true) != -1 || strfind(text, "64.120.22.138:7780", true) != -1 || strfind(text, "este server es una mierda", true) != -1)
        {
        SendClientMessage(playerid,0xEA7971FF,"Fuiste kickeado por hacer SPAM");
        Kick(playerid);
        return 0;
    }
    if(!gPlayerLogged{playerid})
    {
        SendClientMessageEx(playerid, COLOR_GENERAL, "No puedes usar el chat en el Login - Kickeado automбticamente.");
        Kick(playerid);
        return 0;
    }
    if(TutStep[playerid] >= 1)
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, "* Estбs en el tutorial no puedes hablar.");
        return 0;
    }
    if(TalkingLive[playerid] != INVALID_PLAYER_ID)
    {
        if(Team_LSTV(playerid))
        {
            format(string, sizeof(string), "{0000FF}[{FFFFFF}Entrevista{0000FF}] {00A900}Reportero %s: {FFFFFF}%s", GetPlayerNameEx(playerid), text);
            OOCNews(COLOR_GREEN, string);
        }
        else
        {
            format(string, sizeof(string), "{0000FF}[{FFFFFF}Entrevista{0000FF}] {00A900}Invitado %s: {FFFFFF}%s", GetPlayerNameEx(playerid), text);
            OOCNews(COLOR_GREEN, string);
        }
        return 0;
    }
    if(MarriageCeremoney[playerid] > 0)
    {
        if (strcmp("si", text, true) == 0)
        {
            if(GotProposedBy[playerid] < 999)
            {
                if(IsPlayerConnected(GotProposedBy[playerid]))
                {
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    GetPlayerName(GotProposedBy[playerid], giveplayer, sizeof(giveplayer));
                    format(string, sizeof(string), "Sacerdote: %s aceptas a %s como tu esposa para siempre? (Escribe 'Si' - cualquier otro caracter arruinaria el matrimonio).", giveplayer,sendername);
                    SendClientMessageEx(GotProposedBy[playerid], COLOR_WHITE, string);
                    MarriageCeremoney[GotProposedBy[playerid]] = 1;
                    MarriageCeremoney[playerid] = 0;
                    GotProposedBy[playerid] = 999;
                    return 0; // Yeah... no more "YES DILDOS SEX RAPE LOL" broadcast to the whole server
                }
                else
                {
                    MarriageCeremoney[playerid] = 0;
                    GotProposedBy[playerid] = 999;
                    return 0;
                }
            }
            else if(ProposedTo[playerid] < 999)
            {
                if(IsPlayerConnected(ProposedTo[playerid]))
                {
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    GetPlayerName(ProposedTo[playerid], giveplayer, sizeof(giveplayer));
                    if(Info[playerid][pSex] == 1 && Info[ProposedTo[playerid]][pSex] == 2)
                    {
                        format(string, sizeof(string), "Sacerdote: %s y %s los declaro... Marido & Mujer, puedes besar a la novia.", sendername, giveplayer);
                        SendClientMessageEx(playerid, COLOR_WHITE, string);
                        format(string, sizeof(string), "Sacerdote: %s y %s los declaro... Marido & Mujer, puedes besar al novio.", giveplayer, sendername);
                        SendClientMessageEx(ProposedTo[playerid], COLOR_WHITE, string);
                        format(string, sizeof(string), "Noticias: Tenemos una nueva linda pareja! %s y %s ahora estбn casados!!", sendername, giveplayer);
                        OOCNews(COLOR_WHITE, string);
                    }
                    else if(Info[playerid][pSex] == 1 && Info[ProposedTo[playerid]][pSex] == 1)
                    {
                        format(string, sizeof(string), "Sacerdote: %s y %s los declaro... Marido & Mujer, puedes besar al novio.", sendername, giveplayer);
                        SendClientMessageEx(playerid, COLOR_WHITE, string);
                        format(string, sizeof(string), "Sacerdote: %s y %s los declaro... Marido & Mujer, puedes besar al novio.", giveplayer, sendername);
                        SendClientMessageEx(ProposedTo[playerid], COLOR_WHITE, string);
                        format(string, sizeof(string), "Noticias: Tenemos una nueva pareja gay! %s & %s se han casado.", sendername, giveplayer);
                        OOCNews(COLOR_WHITE, string);
                    }
                    else if(Info[playerid][pSex] == 2 && Info[ProposedTo[playerid]][pSex] == 2)
                    {
                        format(string, sizeof(string), "Sacerdote: %s y %s los declaro... Marido & Mujer, puedes besar a la novia.", sendername, giveplayer);
                        SendClientMessageEx(playerid, COLOR_WHITE, string);
                        format(string, sizeof(string), "Sacerdote: %s y %s los declaro... Marido & Mujer, puedes besar a la novia.", giveplayer, sendername);
                        SendClientMessageEx(ProposedTo[playerid], COLOR_WHITE, string);
                        format(string, sizeof(string), "Noticias: Tenemos una nueva pareja de lesbianas! %s & %s se han casado.", sendername, giveplayer);
                        OOCNews(COLOR_WHITE, string);
                    }
                    //MarriageCeremoney[ProposedTo[playerid]] = 1;
                    MarriageCeremoney[ProposedTo[playerid]] = 0;
                    MarriageCeremoney[playerid] = 0;
                    format(Info[ProposedTo[playerid]][pMarriedTo], MAX_PLAYER_NAME, "%s", sendername);
                    format(Info[playerid][pMarriedTo], MAX_PLAYER_NAME, "%s", giveplayer);
                    GivePlayerCash(playerid, - 100000);
                    Info[playerid][pMarried] = 1;
                    Info[ProposedTo[playerid]][pMarried] = 1;
                    ProposedTo[playerid] = 999;
                    MarriageCeremoney[playerid] = 0;
                    return 0;
                }
                else
                {
                    MarriageCeremoney[playerid] = 0;
                    ProposedTo[playerid] = 999;
                    return 0;
                }
            }
        }
        else
        {
            if(GotProposedBy[playerid] < 999)
            {
                if(IsPlayerConnected(GotProposedBy[playerid]))
                {
                    format(string, sizeof(string), "* No quisiste casarse con %s, no dijiste 'si'.", GetPlayerNameEx(GotProposedBy[playerid]));
                    SendClientMessageEx(playerid, COLOR_YELLOW, string);
                    format(string, sizeof(string), "* %s no quisу casaste contigo, no dijo 'si'.",GetPlayerNameEx(playerid));
                    SendClientMessageEx(GotProposedBy[playerid], COLOR_YELLOW, string);
                    return 0;
                }
                else
                {
                    MarriageCeremoney[playerid] = 0;
                    GotProposedBy[playerid] = 999;
                    return 0;
                }
            }
            else if(ProposedTo[playerid] < 999)
            {
                if(IsPlayerConnected(ProposedTo[playerid]))
                {
                    format(string, sizeof(string), "* No quisiste casarse con %s, no dijiste 'si'.",GetPlayerNameEx(ProposedTo[playerid]));
                    SendClientMessageEx(playerid, COLOR_YELLOW, string);
                    format(string, sizeof(string), "* %s no quisу casaste contigo, no dijo 'si'.",GetPlayerNameEx(playerid));
                    SendClientMessageEx(ProposedTo[playerid], COLOR_YELLOW, string);
                    return 0;
                }
                else
                {
                    MarriageCeremoney[playerid] = 0;
                    ProposedTo[playerid] = 999;
                    return 0;
                }
            }
        }
        return 0;
    }
    if(Mobile[playerid] != INVALID_PLAYER_ID)
    {
        new idx;
        tmp = strtok(text, idx);
        GetPlayerName(playerid, sendername, sizeof(sendername));
        if(UnidentifedCall[playerid] == 1)
        {
            format(string, sizeof(string), "(Telйfono) %s: %s", text);
        }
        else
        {
            format(string, sizeof(string), "(Telйfono) %s: %s", sendername, text);
        }
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        // -============================ · ============================- //
        if(Mobile[playerid] == 915)
        {
            if(!strlen(tmp))
            {
                SendClientMessageEx(playerid, TEAM_CYAN_COLOR, "Central: Entendido, їsu ubicaciуn porfavor?");
                return 0;
            }
            new turner[MAX_PLAYER_NAME];
            new wanted[128];
            GetPlayerName(playerid, turner, sizeof(turner));
            format(wanted, sizeof(wanted), "Central: %s necesita una ambulancia en %s",turner, text);
            SendRadioMessage(4, TEAM_CYAN_COLOR, wanted);
            format(wanted, sizeof(wanted), "Incidente: %s",Situacion[playerid]);
            SendRadioMessage(4, TEAM_CYAN_COLOR, wanted);
            new Float:trace_x, Float:trace_y, Float:trace_z;
            GetPlayerPos(playerid, trace_x, trace_y, trace_z);
            emdtrace = 1; emdtrace_x = trace_x; emdtrace_y = trace_y; emdtrace_z = trace_z;
            SendClientMessageEx(playerid, TEAM_CYAN_COLOR, "Central: Ahora enviaremos una ambulancia, sea paciente.");
            SendClientMessageEx(playerid, COLOR_WHITE, "Colgaron.");
            Mobile[playerid] = INVALID_PLAYER_ID;
            SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
            RemovePlayerAttachedObject(playerid, 9);
            return 0;
        }
        if(Mobile[playerid] == 914)
        {
            if(!strlen(tmp))
            {
                SendClientMessageEx(playerid, COLOR_ALLDEPT, "Central: Por favor, їuna breve explicaciуn de la situaciуn?");
                return 0;
            }
            SendClientMessageEx(playerid, COLOR_ALLDEPT, "Central: Entendido, їsu ubicaciуn porfavor?");
            strmid(Situacion[playerid], text, 0, strlen(text), 255);
            Mobile[playerid] = 915;
            return 0;
        }
        if(Mobile[playerid] == 913)
        {
            if(!strlen(tmp))
            {
                SendClientMessageEx(playerid, COLOR_ALLDEPT, "Comisaria: repнtame que no le he entendido!");
                return 0;
            }
            GetPlayerName(playerid, sendername, sizeof(sendername));
            if(strfind(text, " ", true))
            {
                format(string, sizeof(string), "** Central: han solicitado una patrulla en: %s",text);
                SendFamilyMessage(1, TEAM_RADIO_COLOR, string);
                format(string, sizeof(string), "** Central: un tal %s denuncia: %s",sendername, Situacion[playerid]);
                SendFamilyMessage(1, TEAM_RADIO_COLOR, string);
                SendClientMessageEx(playerid, COLOR_GRAD2, "Comisaria: una patrulla se pasarб por la zona.");
                SendClientMessageEx(playerid, COLOR_GRAD2, "Comisaria: ЎGracias por su informaciуn!");
                SendClientMessageEx(playerid, COLOR_GRAD2, "Colgaron <--");
                Mobile[playerid] = INVALID_PLAYER_ID;
                new Float:trace_x, Float:trace_y, Float:trace_z;
                GetPlayerPos(playerid, trace_x, trace_y, trace_z);
                pdtrace = 1; pdtrace_x = trace_x; pdtrace_y = trace_y; pdtrace_z = trace_z;
                SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
                RemovePlayerAttachedObject(playerid, 9);
                return 0;
            }
            else
            {
                SendClientMessageEx(playerid, COLOR_GRAD2, "Comisaria: Por favor calmese y vuelva a repetir su situaciуn diciendo la ciudad.");
                return 0;
            }
        }
        if(Mobile[playerid] == 912)
        {
            if(!strlen(tmp))
            {
                SendClientMessageEx(playerid, COLOR_ALLDEPT, "Comisaria: no le entiendo., repнta porfavor!");
                return 0;
            }
            strmid(Situacion[playerid], text, 0, strlen(text), 255);
            format(string, sizeof(string), "Comisaria: entendido seсor %s, dнganos en donde se encuentra y alguna referencia.", GetPlayerNameEx(playerid));
            SendClientMessageEx(playerid, COLOR_GRAD2, string);
            Mobile[playerid] = 913;
            return 0;
        }
        if(Mobile[playerid] == 911)
        {
            if(!strlen(tmp))
            {
                SendClientMessageEx(playerid, COLOR_ALLDEPT, "EMERGENCIA:  Lo sentimos, no le entendimos, POLICIA o PARAMEDICO ?");
                return 0;
            }
            else if ((strcmp("Policia", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Policia")))
            {
                SendClientMessageEx(playerid, COLOR_WHITE, "--> Conexiуn establecida con LSPD.");
                SendClientMessageEx(playerid, COLOR_GRAD2, "Central: Explique brevemente lo ocurrido.");
                Mobile[playerid] = 912;
                return 0;
            }
            else if ((strcmp("paramedico", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("paramedico")))
            {
                SendClientMessageEx(playerid, COLOR_WHITE, "--> Conexiуn establecida con SAMD.");
                SendClientMessageEx(playerid, COLOR_GRAD2, "Central: Explique brevemente los detalles del accidente.");
                Mobile[playerid] = 914;

                return 0;
            }
            else
            {
                SendClientMessageEx(playerid, 0x0080FFFF, "EMERGENCIA: Lo sentimos, no le entendimos, POLICIA o PARAMEDICO ?");
                return 0;
            }
        }
        if(Mobile[playerid] == 3901)
        {
            SendFamilyMessage(17, COLOR_GREEN, "Central: Llegу un nuevo mensaje a Fox Noticias:");
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[ID:%d] Mensaje de %s: %s", playerid, sendername, text);
            SendFamilyMessage(17, COLOR_GREEN, string);
            SendClientMessageEx(playerid, COLOR_GREEN, "Fox Noticias Estudio: Gracias por su informaciуn !");
   SendClientMessageEx(playerid, COLOR_GRAD2, "   la llamada se colgo...");
            Mobile[playerid] = 255;
            return 0;
        }
        if(IsPlayerConnected(Mobile[playerid]))
        {
            if(Mobile[Mobile[playerid]] == playerid)
            {
                if(Info[Mobile[playerid]][pSpeaker] != 0)
                {
                    format(string, sizeof(string), "[Altavoz] %s Dice: %s", GetPlayerNameEx(playerid), text);
                    ProxDetector(20.0, Mobile[playerid], string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
                }
                else
                {
                    SendClientMessageEx(Mobile[playerid], COLOR_YELLOW,string);
                }
            }
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_YELLOW,"No hay nadie!");
        }
        return 0;
    }
    if(GetPVarInt(playerid, "IsInArena") == 1)
    {
        if(GetPVarInt(playerid, "ArenaMode") == 2)
        {
            switch(Info[playerid][pPaintTeam])
            {
                case 1:
                {
                    format(string, sizeof(string), "[Paintball Arena] ({FF0000}Equipo Rojo{FFFFFF}) %s dice: %s", GetPlayerNameEx(playerid), text);
                }
                case 2:
                {
                    format(string, sizeof(string), "[Paintball Arena] ({0000FF}Equipo Azul{FFFFFF}) %s dice: %s", GetPlayerNameEx(playerid), text);
                }
            }
        }
        if(GetPVarInt(playerid, "ArenaMode") == 1)
        {
            format(string, sizeof(string), "[Paintball Arena] %s dice: %s", GetPlayerNameEx(playerid), text);
        }
        if(GetPVarInt(playerid, "ArenaMode") == 3)
        {
            format(string, sizeof(string), "[Paintball Arena] %s dice: %s", GetPlayerNameEx(playerid), text);
        }
        SendPaintballArenaMessage(GetPVarInt(playerid,"ArenaMode"), COLOR_WHITE, string);
        return 0;
    }
    if(Info[playerid][pMaskuse] == 1)
    {
        format(string, sizeof(string), "Desconocido dice: %s", text);
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        return 0;
    }
    switch(Info[playerid][pAccent])
    {
        case 0, 1:
        {
            format(string, sizeof(string), "%s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 2:
        {
            format(string, sizeof(string), "[Acento Britanico] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 3, 4, 5:
        {
            format(string, sizeof(string), "[Acento Asiбtico] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 6:
        {
            format(string, sizeof(string), "[Acento Escocйs] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 7:
        {
            format(string, sizeof(string), "[Acento Irlandйs] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 8:
        {
            format(string, sizeof(string), "[Acento Ruso] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 9:
        {
            format(string, sizeof(string), "[Acento Americano] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 10:
        {
            format(string, sizeof(string), "[Acento Espaсol] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 11:
        {
            format(string, sizeof(string), "[Acento Colombiano] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 12:
        {
            format(string, sizeof(string), "[Acento Francйs] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 13:
        {
            format(string, sizeof(string), "[Acento Italiano] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 14:
        {
            format(string, sizeof(string), "[Acento Gangster] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 15:
        {
            format(string, sizeof(string), "[Acento Australiano] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 16:
        {
            format(string, sizeof(string), "[Acento Бrabe] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 17:
        {
            format(string, sizeof(string), "[Acento Argentino] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 18:
        {
            format(string, sizeof(string), "[Acento Canadiense] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 19:
        {
            format(string, sizeof(string), "[Acento Cubano] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 20:
        {
            format(string, sizeof(string), "[Acento Israeli] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 21:
        {
            format(string, sizeof(string), "[Acento Alemбn] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
        case 22:
        {
            format(string, sizeof(string), "[Acento Hippie] %s dice: %s", GetPlayerNameEx(playerid), text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        }
    }
    return 0;
}
Reply
#7

Quote:
Originally Posted by kn9w
Посмотреть сообщение
tengo un problema de la nada en miserver la gente empezo a hablar pero decia ejemplo
Nombre Apellido Dice: hola
Nombre_Apellido: Hola

se repetia...
y lo leian todos que peude ser?
por favor ayuda, uso gm zenon city.
te dire... NO todos jugamos ROL y mucho menos usamos un GM especifico asi que tomalo como sugerencia cuando pidas ayuda pon las lineas donde tienes el error o la callback como en este caso
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)