SA-MP Forums Archive
[Pedido] Funзгo - 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: [Pedido] Funзгo (/showthread.php?tid=409287)



Funзгo - Geo1996 - 21.01.2013

qual a funзгo em DOF2 que escreva algo em um arquivo sem tag,

с sei se e tag o nome disso Texto1 = lalalala, mas gostaria de algo como no exemplo abaixo!

Exemplo:

lalalala
lalal
dsd11


Re: Funзгo - joeyleone - 21.01.2013

tipo uuhdsaxz;.?

ou зas.,aзsdlasd?

ou dl120e3201d?
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk


Re: Funзгo - Geo1996 - 21.01.2013

Quote:
Originally Posted by joeyleone
Посмотреть сообщение
tipo uuhdsaxz;.?

ou зas.,aзsdlasd?

ou dl120e3201d?
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Com esse senso de umor vc deveria trabalhar no Zorra Total!


Re: Funзгo - joeyleone - 21.01.2013

Claro cara, tu faz um tуpico sem sentido. Fala o que vocк quer afinal.


Re: Funзгo - Geo1996 - 21.01.2013

Quote:
Originally Posted by joeyleone
Посмотреть сообщение
Claro cara, tu faz um tуpico sem sentido. Fala o que vocк quer afinal.
realmente meu tуpico e sem sentido, somente seus comentarios que tem,

Caso seu cerebro nao teve capacidade de compreender meu pedido vou explicar detalhedamente!

quando se usa

DOF2_SetString(Arquivo, "Texto1", "Oi") й escrito no arquivo da seguinte maneira


Texto1 = oi


porem queria uma funзгo em DOF2 que somente escrevesse o texto sem "Texto1", entendeu?


Re: Funзгo - Dragonborn - 21.01.2013

Se for sу isso, nгo precisa nem de include, sу tu ler as funзхes de arquivos (file functions). Aqui : https://sampwiki.blast.hk/wiki/File_Functions

Ai ensina como fazer exatamente isso que vocк quer. Sу ler, querer, aprender.


Re: Funзгo - Geo1996 - 21.01.2013

Quote:
Originally Posted by Dragonborn
Посмотреть сообщение
Se for sу isso, nгo precisa nem de include, sу tu ler as funзхes de arquivos (file functions). Aqui : https://sampwiki.blast.hk/wiki/File_Functions

Ai ensina como fazer exatamente isso que vocк quer. Sу ler, querer, aprender.

Eu ja tinha vito isto porem gostaria de algo em DOF2


Re: Funзгo - Dwayne-Pheonix - 21.01.2013

Creio que nгo exista em DOF2, isso seria apenas uma funзгo de escrever algum tipo de log.


Re: Funзгo - Dragonborn - 21.01.2013

Nгo sei exatamente, mas creio que entre as funзхes da Double-O-Files nгo exista uma funзгo para escrever em um arquivo sem uma key...

pawn Код:
/*
native DOF2_SetFile(file[]);
native DOF2_LoadFile();
native DOF2_SaveFile();
native DOF2_ParseFile(file[],extraid,bool:callback=true);
native DOF2_ReparseFile(file[],extraid,bool:callback=true);
native DOF2_WriteFile();
native DOF2_PrintFile(comment[]="");
native DOF2_GetString(file[],key[],tag[]="");
native DOF2_GetStringEx(file[],key[],result[],size,tag[]="");
native Float:DOF2_GetFloat(file[],key[]);
native DOF2_GetInt(file[],key[],tag[]="");
native DOF2_GetHex(file[],key[],tag[]="");
native DOF2_GetBin(file[],key[],tag[]="");
native bool:DOF2_GetBool(file[],key[],tag[]="");
native DOF2_SetString(file[],key[],value[],tag[]="");
native DOF2_SetFloat(file[],key[],Float:value);
native DOF2_SetInt(file[],key[],value,tag[]="");
native DOF2_SetHex(file[],key[],value,tag[]="");
native DOF2_SetBin(file[],key[],value,tag[]="");
native DOF2_SetBool(file[],key[],bool:value,tag[]="");
native DOF2_IsSet(file[],key[],tag[]="");
native DOF2_Unset(file[],key[],tag[]="");
native DOF2_FileExists(file[]);
native DOF2_RemoveFile(file[]);
native DOF2_CreateFile(file[],password[]="");
native DOF2_RenameFile(oldfile[],newfile[]);
native DOF2_RenameKey(file[],oldkey[],newkey[],tag[]="");
native DOF2_CopyFile(filetocopy[],newfile[]);
native DOF2_CheckLogin(file[],password[]);
native DOF2_File(user[]);
native DOF2_ParseInt();
native DOF2_ParseFloat();
native DOF2_ParseBool();
native DOF2_ParseBin();
native DOF2_ParseHex();
native DOF2_SetUTF8(bool:set);
native bool:DOF2_GetUTF8();
native DOF2_GetFile();
native DOF2_MakeBackup(file[]);
native DOF2_RemoveSection (file [], tag []);
native DOF2_SectionExists (file [], tag []);
native DOF2_SortSection (file [], tag [], bool: ignorecase = true, bool: ascending = true);
native DOF2_SortAllSections (file [], bool: ignorecase = true, bool: ascending = true);
native DOF2_SetCaseSensitivity (bool: set);
native DOF2_GetCaseSensitivity ();
*/



Re: Funзгo - Geo1996 - 21.01.2013

Quote:
Originally Posted by Dragonborn
Посмотреть сообщение
Nгo sei exatamente, mas creio que entre as funзхes da Double-O-Files nгo exista uma funзгo para escrever em um arquivo sem uma key...

pawn Код:
/*
native DOF2_SetFile(file[]);
native DOF2_LoadFile();
native DOF2_SaveFile();
native DOF2_ParseFile(file[],extraid,bool:callback=true);
native DOF2_ReparseFile(file[],extraid,bool:callback=true);
native DOF2_WriteFile();
native DOF2_PrintFile(comment[]="");
native DOF2_GetString(file[],key[],tag[]="");
native DOF2_GetStringEx(file[],key[],result[],size,tag[]="");
native Float:DOF2_GetFloat(file[],key[]);
native DOF2_GetInt(file[],key[],tag[]="");
native DOF2_GetHex(file[],key[],tag[]="");
native DOF2_GetBin(file[],key[],tag[]="");
native bool:DOF2_GetBool(file[],key[],tag[]="");
native DOF2_SetString(file[],key[],value[],tag[]="");
native DOF2_SetFloat(file[],key[],Float:value);
native DOF2_SetInt(file[],key[],value,tag[]="");
native DOF2_SetHex(file[],key[],value,tag[]="");
native DOF2_SetBin(file[],key[],value,tag[]="");
native DOF2_SetBool(file[],key[],bool:value,tag[]="");
native DOF2_IsSet(file[],key[],tag[]="");
native DOF2_Unset(file[],key[],tag[]="");
native DOF2_FileExists(file[]);
native DOF2_RemoveFile(file[]);
native DOF2_CreateFile(file[],password[]="");
native DOF2_RenameFile(oldfile[],newfile[]);
native DOF2_RenameKey(file[],oldkey[],newkey[],tag[]="");
native DOF2_CopyFile(filetocopy[],newfile[]);
native DOF2_CheckLogin(file[],password[]);
native DOF2_File(user[]);
native DOF2_ParseInt();
native DOF2_ParseFloat();
native DOF2_ParseBool();
native DOF2_ParseBin();
native DOF2_ParseHex();
native DOF2_SetUTF8(bool:set);
native bool:DOF2_GetUTF8();
native DOF2_GetFile();
native DOF2_MakeBackup(file[]);
native DOF2_RemoveSection (file [], tag []);
native DOF2_SectionExists (file [], tag []);
native DOF2_SortSection (file [], tag [], bool: ignorecase = true, bool: ascending = true);
native DOF2_SortAllSections (file [], bool: ignorecase = true, bool: ascending = true);
native DOF2_SetCaseSensitivity (bool: set);
native DOF2_GetCaseSensitivity ();
*/
Pois й eu abri a include porem sao tantas funзхes