[Ajuda] salvamento - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] salvamento (
/showthread.php?tid=398759)
salvamento -
mau.tito - 11.12.2012
Ola!
Estou a tentar a trocar o sistema de salvamento para dof (ele e dini)
Mas nao acho em lugar nenhum aquele bag de convert pois tem do dini pro dof.
Ajude-me
Re: salvamento -
Diogo123 - 11.12.2012
Vocк que por Dini Para DOF2
Usa isso :
dini_Exists DOF2_FileExists
dini_Remove DOF2_RemoveFile
dini_Create DOF2_CreateFile
dini_Set DOF2_SetString
dini_Get DOF2_GetString
dini_IntSet DOF2_SetInt
dini_Int DOF2_GetInt
dini_BoolSet DOF2_SetBool
dini_Bool DOF2_GetBool
dini_FloatSet DOF2_SetFloat
dini_Float DOF2_GetFloat
dini_Unset DOF2_Unset
dini_Isset DOF2_IsSet
DOF2_SaveFile(); na Public OnGameModeExit()
eu entendi isso se eu errei desculpa nгo entendi muito bem .-.
Re: salvamento -
mau.tito - 11.12.2012
Do y_ini para dof2
Re: salvamento -
Diogo123 - 11.12.2012
Eu Nunca mexi com y_ini entгo nгo sei '-'
lк esse tуpico do ****** talvez te ajude
https://sampforum.blast.hk/showthread.php?tid=175565
Re: salvamento -
Don_Speed - 11.12.2012
Ta ai uma coisa que eu tambem gostaria de saber!
Re: salvamento -
Schocc - 11.12.2012
Minha dica
https://sampforum.blast.hk/showthread.php?tid=361671
Re: salvamento -
Don_Speed - 11.12.2012
Quote:
Originally Posted by Schocc
|
Tem essa funзao para y_ini?
Re: salvamento -
Schocc - 11.12.2012
Quote:
Originally Posted by Don_Speed
Tem essa funзao para y_ini?
|
Teria que ser feita uma modificaзгo em algumas Funзхes nativas
Ex:INI_ParseFile
stock bool:INI_ParseFile(filename[], remoteFormat[], bool:bFileFirst = false, bool:bExtra = false, extra = 0, bool:bLocal = true, bool:bPassTag = false)
Em Dof2:
stock DOF2::ParseFile (filename[], extraid = -1, bool: callback = false)
Veja que as funзхes nгo tem como converter a nгo ser uma Modificaзгo ou criaзгo de uma nova Inclcude para processar isso tudo
Re: salvamento -
mau.tito - 11.12.2012
Ok galera vo tentar fazer aqui ,VLW.