reading a file.
I'm having troubles reading a file, i looked into other codes but can't seem to find the answer.
It should check if the player's steamid is in the file on disconnect , and replace that line with a new one, or add a line when he's not in the file. The problem is that it crashes my game when i disconnect. PHP Code:
|
Re: reading a file.
data array seems a bit small ( 128 )
You should write the new file with new file system, lines after lines. |
Re: reading a file.
Thanks for the fast reply.
How can you see this so fast, so i can avoid it later? Edit: Could you explain a bit about that "lines after lines", I'm not really sure what you mean by that. |
Re: reading a file.
I figured it out with some help by wrecked, thanks for your help connor.
|
| All times are GMT -4. The time now is 21:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.