pawn Код:
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
pawn Код:
for(new v = 0; v < MAX_PLAYERTOYS; v++)
{
INI_WriteInt(File, "pt%dModelID=%d\n", v, PlayerToyInfo[playerid][v][ptModelID]);
INI_WriteInt(File, "pt%dBone=%d\n", v, PlayerToyInfo[playerid][v][ptBone]);
INI_WriteFloat(File, "pt%dPosX=%.5f\n", v, PlayerToyInfo[playerid][v][ptPosX]);
INI_WriteFloat(File, "pt%dPosY=%.5f\n", v, PlayerToyInfo[playerid][v][ptPosY]);
INI_WriteFloat(File, "pt%dPosZ=%.5f\n", v, PlayerToyInfo[playerid][v][ptPosZ]);
INI_WriteFloat(File, "pt%dRotX=%.5f\n", v, PlayerToyInfo[playerid][v][ptRotX]);
INI_WriteFloat(File, "pt%dRotY=%.5f\n", v, PlayerToyInfo[playerid][v][ptRotY]);
INI_WriteFloat(File, "pt%dRotZ=%.5f\n", v, PlayerToyInfo[playerid][v][ptRotZ]);
INI_WriteFloat(File, "pt%dScaleX=%.5f\n", v, PlayerToyInfo[playerid][v][ptScaleX]);
INI_WriteFloat(File, "pt%dScaleY=%.5f\n", v, PlayerToyInfo[playerid][v][ptScaleY]);
INI_WriteFloat(File, "pt%dScaleZ=%.5f\n", v, PlayerToyInfo[playerid][v][ptScaleZ]);
}
I'm probably not using the saving ini right, anyone who knows it better please send me a fix code for those errors (: