SA-MP Forums Archive
Y_INI - 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: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Y_INI (/showthread.php?tid=539589)



Y_INI - Alexander11 - 28.09.2014

Buenas, їme pueden decir por que pasa esto?
pawn Код:
forward CargarAutos_data(vehicleid,name[],value[]);
public CargarAutos_data(vehicleid,name[],value[])
{
    INI_Int("Modelo",InformacionA[vehicleid][aModelo]);
    INI_Int("Precio",InformacionA[vehicleid}[aPrecio]);
    INI_Float("PosX",InformacionA[vehicleid][aPosX]);
    INI_Float("PosY",InformacionA[vehicleid][aPosY]);
    INI_Float("PosZ",InformacionA[vehicleid][aPosZ]);
    INI_Float("Rotacion",InformacionA[vehicleid][aRotacion]);
    INI_Int("Color1",InformacionA[vehicleid][aColor1]);
    INI_Int("Color2",InformacionA[vehicleid][aColor2]);
    INI_Bool("Comprado",InformacionA[vehicleid][aComprado]);
    return 0;
}
Quote:

C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(903) : error 017: undefined symbol "INI_Int"
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(904) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(905) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(906) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(907) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(90 : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(909) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(910) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Ga memode.pwn(911) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


9 Errors.




Respuesta: Y_INI - jurgen - 28.09.2014

te falta el include... y_ini


Respuesta: Y_INI - Alexander11 - 28.09.2014

Nop, ya lo tengo, los errores empezaron a surgir cuando agregue lo de comprado y lo del precio.
їAlguna idea de por que sera?


Respuesta: Y_INI - TheScriptMan - 28.09.2014

їComo tienes la linea donde incluyes el y_ini?


Respuesta: Y_INI - Alexander11 - 29.09.2014

pawn Код:
#include <a_samp>
#include <YSI\y_ini>
#include <zcmd>
#include <sscanf2>
#include <foreach>
#include <Streamer>
#include <core>
#include <float>



Re: Y_INI - xGrov3x - 29.09.2014

Intenta poniendo lo siguiente:
pawn Код:
forward CargarAutos_data(vehicleid,name[],value[]);
public CargarAutos_data(vehicleid,name[],value[])
{
    INI_Int("Modelo",InformacionA[vehicleid][aModelo]);
    INI_Int("Precio",InformacionA[vehicleid][aPrecio]);
    INI_Float("PosX",InformacionA[vehicleid][aPosX]);
    INI_Float("PosY",InformacionA[vehicleid][aPosY]);
    INI_Float("PosZ",InformacionA[vehicleid][aPosZ]);
    INI_Float("Rotacion",InformacionA[vehicleid][aRotacion]);
    INI_Int("Color1",InformacionA[vehicleid][aColor1]);
    INI_Int("Color2",InformacionA[vehicleid][aColor2]);
    INI_Bool("Comprado",InformacionA[vehicleid][aComprado]);
    return 0;
}



Respuesta: Re: Y_INI - Alexander11 - 29.09.2014

Quote:
Originally Posted by xGrov3x
Посмотреть сообщение
Intenta poniendo lo siguiente:
pawn Код:
forward CargarAutos_data(vehicleid,name[],value[]);
public CargarAutos_data(vehicleid,name[],value[])
{
    INI_Int("Modelo",InformacionA[vehicleid][aModelo]);
    INI_Int("Precio",InformacionA[vehicleid][aPrecio]);
    INI_Float("PosX",InformacionA[vehicleid][aPosX]);
    INI_Float("PosY",InformacionA[vehicleid][aPosY]);
    INI_Float("PosZ",InformacionA[vehicleid][aPosZ]);
    INI_Float("Rotacion",InformacionA[vehicleid][aRotacion]);
    INI_Int("Color1",InformacionA[vehicleid][aColor1]);
    INI_Int("Color2",InformacionA[vehicleid][aColor2]);
    INI_Bool("Comprado",InformacionA[vehicleid][aComprado]);
    return 0;
}
Lool si funciono muchas gracias.
їQue fue lo que cambiaste?, me puse a compararlos y no encontrй diferencia -.-"


Re: Y_INI - LiMPiTo - 29.09.2014

Esto era INI_Int("Precio",InformacionA[vehicleid}[aPrecio]);


Respuesta: Y_INI - Alexander11 - 29.09.2014

Muchas gracias :3