[Ayuda] Funcion de telйfono
#7

Quote:
Originally Posted by Josstaa
Посмотреть сообщение
El problema es el return 1, con eso le estas diciendo al servidor que procese el mensaje, para arreglarlo nomas lo cambias por return 0 (le dices que NO procese el mensaje)
pawn Код:
if(Mobile[playerid] != INVALID_PLAYER_ID)
    {
        new string[256],sendername[50];
        GetPlayerName(playerid, sendername, sizeof(sendername));
        {
            format(string, sizeof(string), "(Por celular) %s: %s", sendername, text);
        }
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        return 0;
    }
pawn Код:
if(Mobile[playerid] != INVALID_PLAYER_ID)
    {
        new string[256],sendername[50];
        GetPlayerName(playerid, sendername, sizeof(sendername));
        {
            format(string, sizeof(string), "(Por celular) %s: %s", sendername, text);
        }
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        ProxDetector(20.0, Mobile[playerid], string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        return 0;
    }
Reply


Messages In This Thread
[Ayuda] Funcion de telйfono - by Thewin - 03.03.2014, 17:06
Respuesta: [Ayuda] Funcion de telйfono - by [J]ulian - 03.03.2014, 17:37
Respuesta: [Ayuda] Funcion de telйfono - by Thewin - 03.03.2014, 17:43
Respuesta: [Ayuda] Funcion de telйfono - by [J]ulian - 03.03.2014, 19:25
Respuesta: [Ayuda] Funcion de telйfono - by Jovazxc - 03.03.2014, 19:51
Re : [Ayuda] Funcion de telйfono - by Thewin - 03.03.2014, 20:04
Respuesta: [Ayuda] Funcion de telйfono - by Jovazxc - 04.03.2014, 01:15

Forum Jump:


Users browsing this thread: 1 Guest(s)