Jump to content
  • 0

pomoc Zapis na .txt


MrBeNy

Dotaz

4 odpovědí na tuto otázku

Recommended Posts

  • 0
Chtel jsem se zeptat jestly by slo udelat ze vsechno co se napise do chatu ve hre by se ukladalo do scriptfiles/"nazevmodu.txt" napriklad...?

 

a nemas to nahodou v serverlog? tam mas vsechno

Link to comment
Share on other sites

  • 0

das do OnPlayerText:

 

new string[256];

new filak = fopen(); // sry zjisti si to

format(string, sizeof(string), "%s %s",PlayerName(playerid), text);

fwrite(filak,string);

fclose(filak);

teda aspon myslim ae je tui na to tut myslim .. i jsem na to delal FS ;) mrkni

(playername je stock)

 

-- ned 21. bře 2010 0:26:19 --

 

link na ten FS:

 

http://pawno.cz/viewtopic.php?f=22&t=2078

Link to comment
Share on other sites

  • 0

tak znovu se na vas obracim tentokrat s dotazem taky zapisu na .txt ale neco jako rekord hracu za den , proste ze by to psalo kolik lidi bylo za ten den online ... ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...