undefined symbol "INI_String"
#1

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.
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)