12.02.2014, 17:48
Hi,
I have a problem loading the toys from the account of a user with respect to dini_FloatSet ...
For:
Besides the already defined Float with enum ptInfo Float: ...
dini_Int(filename[], key[]) = dini_Float(filename[], key[]) with decimal
Help me please
From already thank you very much.
I have a problem loading the toys from the account of a user with respect to dini_FloatSet ...
Quote:
warning 213: tag mismatch |
Quote:
for(new v = 0; v < MAX_PLAYERTOYS; v++) { new string[128]; format( string, sizeof( string ), "pt%dModelID", v); dini_Int(string, PlayerToyInfo[playerid][v][ptModelID]); format(string, 128, "pt%dBone",v); dini_Int(string, PlayerToyInfo[playerid][v][ptBone]); format(string, 128, "pt%dPosX",v); dini_Float(string, PlayerToyInfo[playerid][v][ptPosX]); This format(string, 128, "pt%dPosY",v); dini_Float(string, PlayerToyInfo[playerid][v][ptPosY]); This format(string, 128, "pt%dPosZ",v); dini_Float(string, PlayerToyInfo[playerid][v][ptPosZ]); This format(string, 128, "pt%dRotX",v); dini_Float(string,PlayerToyInfo[playerid][v][ptRotX]); This format(string, 128, "pt%dRotY",v); dini_Float(string,PlayerToyInfo[playerid][v][ptRotY]); This format(string, 128, "pt%dRotZ",v); dini_Float(string,PlayerToyInfo[playerid][v][ptRotZ]); This format(string, 128, "pt%dSizX",v); dini_Float(string,PlayerToyInfo[playerid][v][ftscaleX]); This format(string, 128, "pt%dSizY",v); dini_Float(string,PlayerToyInfo[playerid][v][ftscaleY]); This format(string, 128, "pt%dSizZ",v); dini_Float(string,PlayerToyInfo[playerid][v][ftscaleZ]); This } |
dini_Int(filename[], key[]) = dini_Float(filename[], key[]) with decimal
Help me please
From already thank you very much.