[ERROR]No me funciona esta funcion
#1

Lo unico que quiero es que me envie un mensage con el contenido del .ini
He intentado asi:

pawn Код:
YCMD:hola(playerid, params[], help)
{
    if(!sscanf(params, "i", params[0]))
    {
        new stringg[128];
        format(stringg, sizeof(stringg), Telefonos_File, params[0]);
        INI:stringg[128](name[], value[])
        {
            INI_String("Propietario", TelefonoInfo, sizeof(TelefonoInfo));
            return 0;
        }
        INI_Load(stringg);
        new string2[128];
        format(string2, sizeof(string2), "%s", TelefonoInfo[playerid]);
        SendClientMessage(playerid, -1, string2);
    }
    return 1;
}
No funciona me saltan errores y no encuentro manera de solucionarlo

Код:
D:\Samp\Servidor de 0\gamemodes\Andreasfield3.9.8.2.pwn(1077) : error 029: invalid expression, assumed zero
D:\Samp\Servidor de 0\gamemodes\Andreasfield3.9.8.2.pwn(1077) : error 017: undefined symbol "@INI_stringg_128"
D:\Samp\Servidor de 0\gamemodes\Andreasfield3.9.8.2.pwn(1077) : error 017: undefined symbol "@INI_stringg_128"
D:\Samp\Servidor de 0\gamemodes\Andreasfield3.9.8.2.pwn(1077) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
[ERROR]No me funciona esta funcion - by chusothe41 - 06.09.2014, 12:58
Respuesta: [ERROR]No me funciona esta funcion - by [J]ulian - 06.09.2014, 20:29
Respuesta: [ERROR]No me funciona esta funcion - by chusothe41 - 06.09.2014, 20:49
Respuesta: [ERROR]No me funciona esta funcion - by Stront - 06.09.2014, 22:18
Respuesta: [ERROR]No me funciona esta funcion - by Glimma - 06.09.2014, 22:42

Forum Jump:


Users browsing this thread: 2 Guest(s)