Y_INI help
#3

maybe this
pawn Код:
new tag[50];
for(new v = 0; v < MAX_PLAYERTOYS; v++)
    {    
                format(tag,sizeof(tag),"ToyNo%i",v);
                INI_SetTag(File,tag);
        INI_WriteFloat(File, "pt%dModelID", PlayerToyInfo[playerid][v][ptModelID]);
        INI_WriteFloat(File, "pt%dBone", PlayerToyInfo[playerid][v][ptBone]);
        INI_WriteFloat(File, "pt%dPosX", PlayerToyInfo[playerid][v][ptPosX]);
        INI_WriteFloat(File, "pt%dPosY", PlayerToyInfo[playerid][v][ptPosY]);
        INI_WriteFloat(File, "pt%dPosZ", PlayerToyInfo[playerid][v][ptPosZ]);
        INI_WriteFloat(File, "pt%dRotX", PlayerToyInfo[playerid][v][ptRotX]);
        INI_WriteFloat(File, "pt%dRotY", PlayerToyInfo[playerid][v][ptRotY]);
        INI_WriteFloat(File, "pt%dRotZ", PlayerToyInfo[playerid][v][ptRotZ]);
        INI_WriteFloat(File, "pt%dScaleX", PlayerToyInfo[playerid][v][ptScaleX]);
        INI_WriteFloat(File, "pt%dScaleY", PlayerToyInfo[playerid][v][ptScaleY]);
        INI_WriteFloat(File, "pt%dScaleZ", PlayerToyInfo[playerid][v][ptScaleZ]);
    }
Reply


Messages In This Thread
Y_INI help - by Lidor124 - 30.03.2014, 11:16
Re: Y_INI help - by Lidor124 - 30.03.2014, 12:39
Re: Y_INI help - by BroZeus - 30.03.2014, 13:34
Re: Y_INI help - by Lidor124 - 01.04.2014, 12:40
Re: Y_INI help - by Lidor124 - 02.04.2014, 15:16
Re: Y_INI help - by Lidor124 - 04.04.2014, 15:32
Re: Y_INI help - by Konstantinos - 05.04.2014, 14:48
Re: Y_INI help - by Lidor124 - 05.04.2014, 15:01
Re: Y_INI help - by Lidor124 - 07.04.2014, 17:21

Forum Jump:


Users browsing this thread: 1 Guest(s)