Guest SpiRinG Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 Ahojte, mám takýto problém. Vytvori mi to súbor z menom ale nič nezapíše. Neviem prísť nato prečo. Hore v móde definena FILE Register dini_Create(file); print("CreateFile"); dini_IntSet(file, "Password", udb_hash(inputtext)); print("Pass"); dini_IntSet(file, "AdminLevel",PlayerInfo[playerid][pAdminLevel] = 0); print("AL"); dini_IntSet(file, "Money",PlayerInfo[playerid][pCash] = 500); print("Money"); dini_IntSet(file, "Score",PlayerInfo[playerid][pScore] = 0); print("Score"); dini_IntSet(file, "Job",PlayerInfo[playerid][pJob] = 0); print("Job"); OnPlayerDisconnect if(gPlayerLogged[playerid] == 1) { print("Ukladanie"); dini_IntSet(file, "Score", PlayerInfo[playerid][pScore]); dini_IntSet(file, "Money", PlayerInfo[playerid][pCash]); dini_IntSet(file, "AdminLevel",PlayerInfo[playerid][pAdminLevel]); dini_IntSet(file, "Skin",GetPlayerSkin(playerid)); dini_IntSet(file, "Job",Job[playerid]); } Server Log [22:28:38] CreateFile [22:28:38] Pass [22:28:38] AL [22:28:38] Money [22:28:38] Score [22:28:38] Job [22:29:17] Ukladanie Link to comment Share on other sites More sharing options...
0 Lax. 28 Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 to je dini alebo dof2 ? Link to comment Share on other sites More sharing options...
0 Deejva 36 Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 dini_Write(); ti chybí Link to comment Share on other sites More sharing options...
0 Guest SpiRinG Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 dini_Write(); ti chybí Ďakujem. Divne, podla návodu mi to potom šlo a terás nie Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 to je dini alebo dof2 ? nerozeznáš rozdil od dini a dof2? Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 5. Červenec, 2013 Administrátor Share Odesláno: 5. Červenec, 2013 to je dini alebo dof2 ? dini_IntSet(file, "Score", PlayerInfo[p Vypadá to na dof2 ? Link to comment Share on other sites More sharing options...
0 Guest SpiRinG Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 Nepoužívam DOF2 Link to comment Share on other sites More sharing options...
0 Lax. 28 Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 nerozeznáš rozdil od dini a dof2? dini_IntSet(file, "Score", PlayerInfo[p Vypadá to na dof2 ? Pokiaľ neviete, že existuje aj niečo také: #define dini_Exists DOF2_FileExists #define dini_Remove DOF2_RemoveFile #define dini_Create DOF2_CreateFile #define dini_Set DOF2_SetString #define dini_Get DOF2_GetString #define dini_IntSet DOF2_SetInt #define dini_Int DOF2_GetInt #define dini_BoolSet DOF2_SetBool #define dini_Bool DOF2_GetBool #define dini_FloatSet DOF2_SetFloat #define dini_Float DOF2_GetFloat #define dini_Unset DOF2_Unset #define dini_Isset DOF2_IsSet #define dini_Write DOF2_Exit tak radšej ticho Link to comment Share on other sites More sharing options...
0 Guest SpiRinG Odesláno: 5. Červenec, 2013 Share Odesláno: 5. Červenec, 2013 Bolo to vyriešené. Dosť Nemusíte sa hádať Link to comment Share on other sites More sharing options...
Dotaz
Guest SpiRinG
Ahojte, mám takýto problém.
Vytvori mi to súbor z menom ale nič nezapíše.
Neviem prísť nato prečo.
Hore v móde definena FILE
Register
OnPlayerDisconnect
Server Log
Link to comment
Share on other sites
8 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now