SA-MP Forums Archive
[DUV]Criar Arquivo .txt - 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: [DUV]Criar Arquivo .txt (/showthread.php?tid=137434)



[DUV]Criar Arquivo .txt - Guilherme_Canani - 28.03.2010

Ja procurei... '-'

Queria uma explicaзгo de como criar um arquivo .txt e escrever algo nele ao digitar algo ou entrar no servidor por exemplo... Vlw



Re: [DUV]Criar Arquivo .txt - luandriftlogkdr - 28.03.2010

usa o Dini


Re: [DUV]Criar Arquivo .txt - SlashPT - 28.03.2010

no onplayerconnect

pawn Код:
new
    string[63],
    File:handle = fopen(Conectar.txt, io_append),
    nome[MAX_PLAYER_NAME];

GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
format(string, 63,"O jogador %s connectou-se ao server!"nome);
fwrite(handle, string);
fclose(handle);
axo ke funca


Re: [DUV]Criar Arquivo .txt - Guilherme_Canani - 28.03.2010

Tipo... poderia dizer o que cada coisa serve e etc... Para eu poder fazer outros sem ajuda de vocкs...


Re: [DUV]Criar Arquivo .txt - andmeida10 - 28.03.2010

olha ai... so perceber ingles:


http://forum.sa-mp.com/index.php?topic=161905.0


--EDIT--

Estuda ele e percebe, ai e so vc modificar para o que voce quer


Re: [DUV]Criar Arquivo .txt - Guilherme_Canani - 28.03.2010

Quote:
Originally Posted by andmeida10
olha ai... so perceber ingles:


http://forum.sa-mp.com/index.php?topic=161905.0


--EDIT--

Estuda ele e percebe, ai e so vc modificar para o que voce quer
Estudando