SA-MP Forums Archive
undefined symbol "INI_String" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: undefined symbol "INI_String" (/showthread.php?tid=482417)



undefined symbol "INI_String" - Stuffs - 21.12.2013

I'm creating a vehicle dealership and when I'm loading the players vehicle enumerators(this is under player enums):
pawn Код:
INI_Int("Vehicle1",PlayerInfo[playerid][pVehicle1]);
    INI_Int("Vehicle1Model",PlayerInfo[playerid][pVehicle1Model]);
    INI_Float("Vehicle1X",PlayerInfo[playerid][pVehicle1X]);
    INI_Float("Vehicle1Y",PlayerInfo[playerid][pVehicle1Y]);
    INI_Float("Vehicle1Z",PlayerInfo[playerid][pVehicle1Z]);
    INI_Float("Vehicle1C",PlayerInfo[playerid][pVehicle1C]);
    INI_Int("Vehicle1Color1",PlayerInfo[playerid][pVehicle1Color1]);
    INI_Int("Vehicle1Color2",PlayerInfo[playerid][pVehicle1Color2]);
    INI_Int("Vehicle1Value",PlayerInfo[playerid][pVehicle1Value]);
    INI_String("Vehicle1Plate",PlayerInfo[playerid][pVehicle1Plate]);
    INI_Int("Vehicle1Lock",PlayerInfo[playerid][pVehicle1Lock]);
However, I get undefined symbol "INI_String".

Could someone give me a brief detail of what I'm doing wrong, thanks!

EDIT: Even using "INI_String("Vehicle1Plate",PlayerInfo[playerid][pVehicle1Plate], 32);" it still returns the error.


Re: undefined symbol "INI_String" - MoshuLabs - 21.12.2013

INI Saves as a string and loads as a interger(if spelt right). Change it to INI_Int.