SA-MP Forums Archive
[Ajuda] DOF2 - 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] DOF2 (/showthread.php?tid=575451)



DOF2 - LucasDias - 27.05.2015

Sou novo no dof2, e queria saber se existe alguma diferenзa entre usar " DOF2_SetInt " e " DOF2::SetInt ", se puderem me explicar agradeзo!


Re: DOF2 - GabrielDias_Invision - 27.05.2015

й a mesma coisa.


Re: DOF2 - [BC]Vinny - 27.05.2015

tudo a mesma coisa
ja q vc ta iniciando
uma preferencia minha, mas pode ser util
acho fica mais simples de escrever

PHP код:
#define CriarArquivo(%1)    DOF2_CreateFile(%1)
#define Existe(%1)          DOF2_FileExists(%1)
#define Excluir(%1)            DOF2_RemoveFile(%1)
#define SetInt(%1,%2,%3)    DOF2_SetInt(%1,%2,%3)
#define GetInt(%1,%2)         DOF2_GetInt(%1,%2)
#define SetBool(%1,%2,%3)    DOF2_SetBool(%1,%2,%3)
#define GetBool(%1,%2)         DOF2_GetBool(%1,%2)
#define SetStr(%1,%2,%3)       DOF2_SetString(%1,%2,%3)
#define GetStr(%1,%2)          DOF2_GetString(%1,%2)
#define SetFlt(%1,%2,%3)       DOF2_SetFloat(%1,%2,%3)
#define GetFlt(%1,%2)          DOF2_GetFloat(%1,%2)
#define Fechar()               DOF2_Exit()
#define Salvar()               DOF2_SaveFile() 



Re: DOF2 - LucasDias - 27.05.2015

Obrigado pelas respostas