[Ajuda] salvamento
#1

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
Reply
#2

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 .-.
Reply
#3

Do y_ini para dof2
Reply
#4

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
Reply
#5

Ta ai uma coisa que eu tambem gostaria de saber!
Reply
#6

Minha dica
https://sampforum.blast.hk/showthread.php?tid=361671
Reply
#7

Quote:
Originally Posted by Schocc
Посмотреть сообщение
Tem essa funзao para y_ini?
Reply
#8

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
Reply
#9

Ok galera vo tentar fazer aqui ,VLW.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)